diff options
author | Kevin Hockey <Blitzkev@gmail.com> | 2010-08-05 18:45:44 (GMT) |
---|---|---|
committer | Kevin Hockey <Blitzkev@gmail.com> | 2010-08-05 18:45:44 (GMT) |
commit | ac0447963b446323b25e0a96576a9d98124d4531 (patch) | |
tree | df8d5f65bfc8a74fa89dbc471b59e7e905c0cb5c /MAFH2/Map.py | |
parent | 725c625e6f129e7972177483b59295e9e3d8b0a9 (diff) |
Fortune Hunter now incorporates the auto-removal of registered drawable objects
Diffstat (limited to 'MAFH2/Map.py')
-rw-r--r-- | MAFH2/Map.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MAFH2/Map.py b/MAFH2/Map.py index 2cecf66..d722efd 100644 --- a/MAFH2/Map.py +++ b/MAFH2/Map.py @@ -51,7 +51,7 @@ class Map(GameEngineElement): self.add_to_engine() #Adds itself and all callbacks to the engine
self.myDrawableObject = DrawableObject([pygame.Surface((0,0))], '')
- self.game_engine.get_scene().addObject(self.myDrawableObject)
+ self.add_to_scene([self.myDrawableObject])
def event_handler(self, event):
if event.type == pygame.KEYDOWN:
|