com.theoworlds.builder.CharacterLogicRandom |
CharacterLogicRandom class - character logic that makes the character do random actions - usefull for “monsters” in game and bots in mult-iuser applications
1.0
© TheoWorlds.com, 2007-2009.
| com. | CharacterLogicRandom class - character logic that makes the character do random actions - usefull for “monsters” in game and bots in mult-iuser applications |
| Functions | |
| CharacterLogicRandom | |
| startThinking | the function that makes the character to start “thinking” (execute the character logic). |
| stopThinking | stop the “thinking |
| thinkingLoop | the “thinking” function |
public function CharacterLogicRandom( character: Character, autoStart: Boolean, initObj: Object )
the function that makes the character to start “thinking” (execute the character logic).
public function startThinking():Void
stop the “thinking
public function stopThinking():Void
the “thinking” function
private function thinkingLoop( _this: CharacterLogic ):Void