Ça trolle…
/
troll.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d8cab95
)
Endgame status must spring out of opposite corner, not always lower right
author
JBM
<jbm@codingame.com>
Sun, 7 Jun 2020 12:43:05 +0000
(14:43 +0200)
committer
JBM
<jbm@codingame.com>
Sun, 7 Jun 2020 12:43:05 +0000
(14:43 +0200)
src/main/java/com/codingame/game/View.java
patch
|
blob
|
history
diff --git
a/src/main/java/com/codingame/game/View.java
b/src/main/java/com/codingame/game/View.java
index
cfde0eb
..
9d5cd80
100644
(file)
--- a/
src/main/java/com/codingame/game/View.java
+++ b/
src/main/java/com/codingame/game/View.java
@@
-595,7
+595,7
@@
class View {
void animateLoss(int x, int y, int size, String message) {
int startX;
if (x < 1920/2) { startX = 1920; }
- else if (x > 1920/2) { startX =
1920; } // XXX
+ else if (x > 1920/2) { startX =
0; }
else { startX = 1920 * random.nextInt(2); }
Text msg = graphicEntityModule.createText(message)