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