projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mor deth wit speling
[naja.git]
/
naja
/
scenes
/
win.py
diff --git
a/naja/scenes/win.py
b/naja/scenes/win.py
index 82437d04860a38e90f150607b052a1b2c7a98053..5acff6e5f8abde20029a5ffe21018e038c0d4f0d 100644
(file)
--- a/
naja/scenes/win.py
+++ b/
naja/scenes/win.py
@@
-24,15
+24,18
@@
class WinScene(Scene):
(0, 0), "screens/you_won.png")
self.add(background)
(0, 0), "screens/you_won.png")
self.add(background)
+ y_offset = 250
+
if self.state.gameboard.has_cheated:
self.add(TextWidget(
if self.state.gameboard.has_cheated:
self.add(TextWidget(
- (50, 250), 'But you\'re a CHEATER!', colour=PALETTE.ORANGE))
+ (50, y_offset), 'But you\'re a CHEATER!', colour=PALETTE.ORANGE))
+ y_offset += 50
+
self.add(TextBoxWidget(
self.add(TextBoxWidget(
- (50,
300
), '\n\n'.join([
+ (50,
y_offset
), '\n\n'.join([
"You're great.",
"You did well.",
"You should be proud of yourself.",
"You're great.",
"You did well.",
"You should be proud of yourself.",
- "",
"Press ESC to return to the menu",
]),
colour=PALETTE.WHITE, padding=1, border=1,
"Press ESC to return to the menu",
]),
colour=PALETTE.WHITE, padding=1, border=1,