No code change just reformatting of header files.
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)
This commit is contained in:
@@ -15,35 +15,36 @@ class GuiAvatars;
|
||||
class CardSelectorBase;
|
||||
struct Pos;
|
||||
|
||||
class DuelLayers {
|
||||
protected:
|
||||
int nbitems;
|
||||
vector<GuiLayer*> objects;
|
||||
vector<Pos*> waiters;
|
||||
GuiCombat* combat;
|
||||
ActionLayer* action;
|
||||
ActionStack* stack;
|
||||
GuiHandSelf *hand;
|
||||
GuiAvatars * avatars;
|
||||
class DuelLayers
|
||||
{
|
||||
protected:
|
||||
int nbitems;
|
||||
vector<GuiLayer*> objects;
|
||||
vector<Pos*> waiters;
|
||||
GuiCombat* combat;
|
||||
ActionLayer* action;
|
||||
ActionStack* stack;
|
||||
GuiHandSelf *hand;
|
||||
GuiAvatars * avatars;
|
||||
|
||||
public:
|
||||
DuelLayers();
|
||||
~DuelLayers();
|
||||
DuelLayers();
|
||||
~DuelLayers();
|
||||
|
||||
ActionLayer * actionLayer();
|
||||
ActionStack * stackLayer();
|
||||
GuiCombat * combatLayer();
|
||||
GuiAvatars * GetAvatars();
|
||||
void init();
|
||||
virtual void Update(float dt, Player * player);
|
||||
void CheckUserInput(int isAI);
|
||||
void Render();
|
||||
void Add(GuiLayer * layer);
|
||||
void Remove();
|
||||
int receiveEvent(WEvent * e);
|
||||
float RightBoundary();
|
||||
ActionLayer * actionLayer();
|
||||
ActionStack * stackLayer();
|
||||
GuiCombat * combatLayer();
|
||||
GuiAvatars * GetAvatars();
|
||||
void init();
|
||||
virtual void Update(float dt, Player * player);
|
||||
void CheckUserInput(int isAI);
|
||||
void Render();
|
||||
void Add(GuiLayer * layer);
|
||||
void Remove();
|
||||
int receiveEvent(WEvent * e);
|
||||
float RightBoundary();
|
||||
|
||||
CardSelectorBase* mCardSelector;
|
||||
CardSelectorBase* mCardSelector;
|
||||
};
|
||||
|
||||
#include "ActionLayer.h"
|
||||
@@ -52,5 +53,4 @@ public:
|
||||
#include "ActionStack.h"
|
||||
#include "Damage.h"
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user