finishing up my reformatting of the source from November/December following the guidelines that were posted. some extra things I added: * Any empty virtual declarations were kept to one line. * Enums were split up into separate lines to promote uniformity across all headers. ( each header file had a different style for enums)
25 lines
470 B
C++
25 lines
470 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;
|
|
public:
|
|
MTGGamePhase(int id);
|
|
virtual void Update(float dt);
|
|
bool CheckUserInput(JButton key);
|
|
virtual MTGGamePhase * clone() const;
|
|
virtual ostream& toString(ostream& out) const;
|
|
};
|
|
|
|
#endif
|