Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
quizLogic.h
Go to the documentation of this file.
1#pragma once
2#include <raylib.h>
3#include "cityOperations.h"
4
5struct Option
6{
7 // Option hitbox
9
10 // Hover effect texture
12
13 // True answer indicator
15
16 // False answer indicator
18};
19
20// Handle mouse input relative to the quiz optiopns
21void handleQuizInput(City activeCity, Option options[4], bool* showQuizPtr, bool* optionSelectedPtr, int* scorePtr, int* startNumPtr, int* endNumPtr, int* countUpstepPtr, bool* countUpDonePtr, int* bonusPtr);
void handleQuizInput(City activeCity, Option options[4], bool *showQuizPtr, bool *optionSelectedPtr, int *scorePtr, int *startNumPtr, int *endNumPtr, int *countUpstepPtr, bool *countUpDonePtr, int *bonusPtr)
Handle mouse input relative to the quiz options.
Definition: quizLogic.cpp:10
Initialise cities.
Definition: cityOperations.h:8
Rectangle hitbox
Definition: quizLogic.h:8
Texture falseAnswerIndicator
Definition: quizLogic.h:17
Texture trueAnswerIndicator
Definition: quizLogic.h:14
Texture hoverEffect
Definition: quizLogic.h:11