J :
* Fix a typo in a method name
This commit is contained in:
@@ -23,7 +23,7 @@ class ActionLayer: public GuiLayer, public JGuiListener{
|
|||||||
int stuffHappened;
|
int stuffHappened;
|
||||||
virtual void Render();
|
virtual void Render();
|
||||||
virtual void Update(float dt);
|
virtual void Update(float dt);
|
||||||
int unstopableRenderInProgress();
|
int unstoppableRenderInProgress();
|
||||||
bool CheckUserInput(u32 key);
|
bool CheckUserInput(u32 key);
|
||||||
ActionLayer(int id, GameObserver* _game):GuiLayer(id, _game){ menuObject = NULL; abilitiesMenu = NULL; stuffHappened = 0;};
|
ActionLayer(int id, GameObserver* _game):GuiLayer(id, _game){ menuObject = NULL; abilitiesMenu = NULL; stuffHappened = 0;};
|
||||||
~ActionLayer();
|
~ActionLayer();
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class GuiLayer{
|
|||||||
virtual ~GuiLayer();
|
virtual ~GuiLayer();
|
||||||
virtual void Update(float dt);
|
virtual void Update(float dt);
|
||||||
virtual bool CheckUserInput(u32 key){ return false; };
|
virtual bool CheckUserInput(u32 key){ return false; };
|
||||||
virtual int unstopableRenderInProgress(){return 0;};
|
virtual int unstoppableRenderInProgress(){return 0;};
|
||||||
int getIndexOf(JGuiObject * object);
|
int getIndexOf(JGuiObject * object);
|
||||||
JGuiObject * getByIndex (int index);
|
JGuiObject * getByIndex (int index);
|
||||||
virtual void Render();
|
virtual void Render();
|
||||||
@@ -55,7 +55,7 @@ class GuiLayers{
|
|||||||
void Render();
|
void Render();
|
||||||
void Add(GuiLayer * layer);
|
void Add(GuiLayer * layer);
|
||||||
void Remove();
|
void Remove();
|
||||||
int unstopableRenderInProgress();
|
int unstoppableRenderInProgress();
|
||||||
~GuiLayers();
|
~GuiLayers();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ int ActionLayer::reactToTargetClick(ActionElement* ability, Targetable * card){
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ActionLayer::unstopableRenderInProgress(){
|
int ActionLayer::unstoppableRenderInProgress(){
|
||||||
|
|
||||||
for (int i=0;i<mCount;i++){
|
for (int i=0;i<mCount;i++){
|
||||||
if (mObjects[i]!=NULL){
|
if (mObjects[i]!=NULL){
|
||||||
|
|||||||
@@ -114,9 +114,9 @@ GuiLayers::~GuiLayers(){
|
|||||||
}
|
}
|
||||||
LOG("==Destroying GuiLayers Successful==");
|
LOG("==Destroying GuiLayers Successful==");
|
||||||
}
|
}
|
||||||
int GuiLayers::unstopableRenderInProgress(){
|
int GuiLayers::unstoppableRenderInProgress(){
|
||||||
for (int i=0; i<nbitems; i++){
|
for (int i=0; i<nbitems; i++){
|
||||||
if (objects[i]->unstopableRenderInProgress())
|
if (objects[i]->unstoppableRenderInProgress())
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user