You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- import bge
- import FSM
-
- def main(cont):
- own = cont.owner
- dict = bge.logic.globalDict
- if 'game_inited' not in own:
- own['game_inited'] = True
- own['cont'] = cont
- dict['gameFSM'] = FSM.GameFSM(own)
-
- dict['gameFSM'].Execute()
|