* Fix u32 into JButtons.
* Add a few comments.
* Remove useless variables.
This commit is contained in:
jean.chalard
2010-02-24 17:28:17 +00:00
parent 3ac6bc3ec3
commit 39c5a3d465
38 changed files with 58 additions and 63 deletions

View File

@@ -14,7 +14,7 @@ class Player;
class GuiLayer{
protected:
u32 mActionButton;
JButton mActionButton;
public:
int mCount;
int mCurr;
@@ -28,7 +28,7 @@ class GuiLayer{
GuiLayer();
virtual ~GuiLayer();
virtual void Update(float dt);
virtual bool CheckUserInput(u32 key){ return false; };
virtual bool CheckUserInput(JButton key){ return false; };
int getIndexOf(JGuiObject * object);
JGuiObject * getByIndex (int index);
virtual void Render();