Changes between Version 7 and Version 8 of documentation/tutorials/PythonEventSystem
- Timestamp:
- 01/09/08 15:01:47 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/tutorials/PythonEventSystem
v7 v8 59 59 == Step 2: Replacing the Event System == 60 60 61 We can now completely remove the exi ting event system from ''RocketInvaders'' as the Python bindings will do all the event management for us. Remove all source and header files that begin with Event. You'll also need to comment out some code in GameElement.cpp and Game.cpp that call the EventManager directly. We'll get back to those later.61 We can now completely remove the existing event system from ''RocketInvaders'' as the Python bindings will do all the event management for us. Remove all source and header files that begin with Event. You'll also need to comment out some code in GameElement.cpp and Game.cpp that call the EventManager directly. We'll get back to those later. 62 62 63 63 Also remove all the EventManager initialisation from main.cpp as we'll replace it with a new Python script. I suggest you name it ''autoexec.py'' and place it in a ''python'' subfolder. It should look something like this: