From 0ca28ca120e93441f38989cf0edf47b02d839335 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sat, 14 Jan 2017 13:49:57 +0100 Subject: Add test and fix HandRotationDirection --- .../org/luxons/sevenwonders/game/cards/HandRotationDirection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/org/luxons') 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; } } -- cgit