Files
wagic/projects/mtg/include/GuiAvatars.h
T
wagic.the.homebrew@gmail.com 833fbba6c2 Erwan
- fix issue 22 (Graveyard display messed up)
- fix issue 38 (graveyard and library unusable)
- fix issue 59 (can't cancel a spell with a target)
2009-09-26 10:03:52 +00:00

33 lines
680 B
C++

#ifndef _GUIAVATARS_H_
#define _GUIAVATARS_H_
#include "GuiLayers.h"
#include "CardSelector.h"
struct GuiAvatar;
class GuiGraveyard;
class GuiLibrary;
class GuiAvatars : public GuiLayer
{
protected:
GuiAvatar* self, *opponent;
GuiGraveyard* selfGraveyard, *opponentGraveyard;
GuiLibrary* selfLibrary, *opponentLibrary;
CardSelector* cs;
GuiAvatar* active;
public:
GuiAvatars(CardSelector*);
~GuiAvatars();
// virtual void Render();
void Update(float dt);
void Activate(PlayGuiObject* c);
void Deactivate(PlayGuiObject* c);
int receiveEventPlus(WEvent*);
int receiveEventMinus(WEvent*);
bool CheckUserInput(u32 key);
};
#endif // _GUIAVATARS_H_