* Fix a typo in a method name
This commit is contained in:
jean.chalard
2009-05-31 11:44:56 +00:00
parent 2eb67d432c
commit 705631328d
4 changed files with 7 additions and 7 deletions

View File

@@ -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();

View File

@@ -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();
};

View File

@@ -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);
}
}

View File

@@ -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;