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/TermBox.py | |
parent | 725c625e6f129e7972177483b59295e9e3d8b0a9 (diff) |
Fortune Hunter now incorporates the auto-removal of registered drawable objects
Diffstat (limited to 'MAFH2/TermBox.py')
-rw-r--r-- | MAFH2/TermBox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MAFH2/TermBox.py b/MAFH2/TermBox.py index cb5c4f1..c0b6b9c 100644 --- a/MAFH2/TermBox.py +++ b/MAFH2/TermBox.py @@ -17,8 +17,8 @@ class TermBox(GameEngineElement): self.__lines = [] for i in range(lines): self.__lines.append(DrawableFontObject('', self.font)) - self.game_engine.get_scene().addObject(self.box) - self.game_engine.get_scene().addObjects(self.__lines) + self.add_to_scene([self.box]) + self.add_to_scene(self.__lines) self.add_to_engine() def add_line(self, line): |