projects
/
base2-runner.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7757ce2
)
Game.print() with no text does a line-feed
author
TJ
<git@iam.tj>
Fri, 15 Nov 2013 20:42:07 +0000
(20:42 +0000)
committer
TJ
<git@iam.tj>
Fri, 15 Nov 2013 20:42:07 +0000
(20:42 +0000)
engine/Game.py
patch
|
blob
|
history
diff --git
a/engine/Game.py
b/engine/Game.py
index
82fd241
..
3355f48
100755
(executable)
--- a/
engine/Game.py
+++ b/
engine/Game.py
@@
-78,7
+78,7
@@
class Game:
# splash screen
self.splash()
- def print(self, text, style='body'):
+ def print(self, text
=''
, style='body'):
""" print a line of text and move the text origin to the next line """
if not style in self.styles:
style = 'body'