Files
wagic/projects/mtg/include/MTGGamePhase.h

29 lines
593 B
C++

#ifndef _MTGGAMEPHASE_H_
#define _MTGGAMEPHASE_H_
#include "ActionElement.h"
#include "GameObserver.h"
#include <JGui.h>
#include "WFont.h"
class MTGGamePhase: public ActionElement
{
protected:
float animation;
int currentState;
WFont * mFont;
static MTGGamePhase* instance;
public:
MTGGamePhase(int id);
static MTGGamePhase* GetInstance() { return instance; };
virtual void Update(float dt);
bool CheckUserInput(JButton key);
virtual MTGGamePhase * clone() const;
virtual ostream& toString(ostream& out) const;
bool NextGamePhase();
};
#endif