Ça trolle…
/
troll.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the trolling optional
[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
857f527
..
9ef1d6b
100644
(file)
--- a/
src/main/java/com/codingame/game/View.java
+++ b/
src/main/java/com/codingame/game/View.java
@@
-27,8
+27,7
@@
class View {
STILL("stands still.", 1),
RIGHT("walks right.", 2);
STILL("stands still.", 1),
RIGHT("walks right.", 2);
- String movement;
- int index;
+ String movement; int index;
Dir(String mvt, int i) { movement = mvt; index = i; }
}
Dir(String mvt, int i) { movement = mvt; index = i; }
}
@@
-375,6
+374,7
@@
class View {
.setStrokeColor(0xFFFF00)
.setFillColor(0xFFFF00)
.setFontSize(40);
.setStrokeColor(0xFFFF00)
.setFillColor(0xFFFF00)
.setFontSize(40);
+ toggleModule.displayOnToggleState(trollMessage, "verboseTrolling", true);
}
private void moveTroll() {
}
private void moveTroll() {