[Beye] CurrentStep.
Posted: 17 April 2013, 21:35
Hello;
I know that I can use possibleAction with this.checkAction and check the statename in OnEnteringState, because StateName is a parameter.
But, in Game.JS, Is there any mean to get the StateName (with a function) , outside EnteringState and OnLivingState (In my Click method for example)?
My first Idea was to put a global 'StateName' in Game.Js... But I suppose that OnEnteringState is not Launched on a refresh?
regards.
Rudolf
I know that I can use possibleAction with this.checkAction and check the statename in OnEnteringState, because StateName is a parameter.
But, in Game.JS, Is there any mean to get the StateName (with a function) , outside EnteringState and OnLivingState (In my Click method for example)?
My first Idea was to put a global 'StateName' in Game.Js... But I suppose that OnEnteringState is not Launched on a refresh?
regards.
Rudolf