- It is now possible to have avatars associated to each Deck - Added SFX - Added Music files - Possibility to choose your opponent - Opponents' difficulty is measured according to their number of victories against a given deck
37 lines
632 B
C++
37 lines
632 B
C++
#ifndef _GAME_STATE_OPTIONS_H_
|
|
#define _GAME_STATE_OPTIONS_H_
|
|
|
|
#include <JGui.h>
|
|
#include "../include/GameState.h"
|
|
|
|
#define SHOW_OPTIONS 1
|
|
#define SHOW_OPTIONS_MENU 2
|
|
|
|
class GameApp;
|
|
class OptionsList;
|
|
class SimpleMenu;
|
|
|
|
class GameStateOptions: public GameState, public JGuiListener
|
|
{
|
|
private:
|
|
float timer;
|
|
|
|
public:
|
|
SimpleMenu * optionsMenu;
|
|
int mState;
|
|
OptionsList * optionsList;
|
|
GameStateOptions(GameApp* parent);
|
|
virtual ~GameStateOptions();
|
|
|
|
virtual void Start();
|
|
virtual void End();
|
|
virtual void Update(float dt);
|
|
virtual void Render();
|
|
void ButtonPressed(int controllerId, int ControlId);
|
|
|
|
};
|
|
|
|
|
|
#endif
|
|
|