- Removing "mCount" variable from GuiLayers

This commit is contained in:
wagic.the.homebrew
2011-05-29 04:40:13 +00:00
parent 4e86981231
commit 34311a4499
15 changed files with 80 additions and 92 deletions
+1 -2
View File
@@ -17,7 +17,6 @@ class GuiLayer
protected:
JButton mActionButton;
public:
int mCount;
int mCurr;
vector<JGuiObject *> mObjects;
void Add(JGuiObject * object);
@@ -39,7 +38,7 @@ public:
virtual void Render();
int empty()
{
if (mCount)
if (mObjects.size())
return 0;
return 1;
}