summaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-01-14 13:49:57 +0100
committerJoffrey BION <joffrey.bion@gmail.com>2017-01-14 13:50:37 +0100
commit0ca28ca120e93441f38989cf0edf47b02d839335 (patch)
treecdf571ff1c9c9e20a36fea03a10c86020353e9cc /src/main/java/org
parentAdd test for WonderSidePickMethod (diff)
downloadseven-wonders-0ca28ca120e93441f38989cf0edf47b02d839335.tar.gz
seven-wonders-0ca28ca120e93441f38989cf0edf47b02d839335.tar.bz2
seven-wonders-0ca28ca120e93441f38989cf0edf47b02d839335.zip
Add test and fix HandRotationDirection
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/luxons/sevenwonders/game/cards/HandRotationDirection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/cards/HandRotationDirection.java b/src/main/java/org/luxons/sevenwonders/game/cards/HandRotationDirection.java
index 4d33a8db..9c4f4b02 100644
--- a/src/main/java/org/luxons/sevenwonders/game/cards/HandRotationDirection.java
+++ b/src/main/java/org/luxons/sevenwonders/game/cards/HandRotationDirection.java
@@ -14,7 +14,7 @@ public enum HandRotationDirection {
}
public static HandRotationDirection forAge(int age) {
- // clockwise at age 1, and alternating
- return age % 2 == 0 ? HandRotationDirection.LEFT : HandRotationDirection.RIGHT;
+ // clockwise (pass to the left) at age 1, and alternating
+ return age % 2 == 0 ? HandRotationDirection.RIGHT : HandRotationDirection.LEFT;
}
}
bgstack15