diff options
author | Kevin Hockey <Blitzkev@gmail.com> | 2010-08-05 01:14:43 (GMT) |
---|---|---|
committer | Kevin Hockey <Blitzkev@gmail.com> | 2010-08-05 01:14:43 (GMT) |
commit | 1cdfa6e6b9105f4f36a8b52255d8c1c5e2327c9a (patch) | |
tree | 643800c44d43575b1c16cb1d9b5ebf84826211a7 /MAFH2/TermBox.py | |
parent | f415a0d1f91c8c6b2d87d769b3f9f0495aab115f (diff) |
termbox finished integrating
Diffstat (limited to 'MAFH2/TermBox.py')
-rw-r--r-- | MAFH2/TermBox.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MAFH2/TermBox.py b/MAFH2/TermBox.py index a3a1287..907a951 100644 --- a/MAFH2/TermBox.py +++ b/MAFH2/TermBox.py @@ -23,10 +23,11 @@ class TermBox(GameEngineElement): def add_line(self, line): for i in range(0, self.max_lines, 1): + print i if i == self.max_lines-1: self.__lines[i].changeText(line, [255,255,255]) else: - self.__lines[i] = self.__lines[i+1] + self.__lines[i].changeText(self.__lines[i+1].getText(), [255,255,255]) def draw(self,screen,time_delta): i=0 |