Ça trolle…
/
troll.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Endgame status must spring out of opposite corner, not always lower right
[troll.git]
/
src
/
main
/
java
/
com
/
codingame
/
game
/
View.java
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; }
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)
else { startX = 1920 * random.nextInt(2); }
Text msg = graphicEntityModule.createText(message)