diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-08 12:00:41 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-08 12:00:41 +0200 |
commit | 97b9ff462337a1888f0e7cc1e6092e290c2112a9 (patch) | |
tree | 68b091352afee2614ab3bef1f01caa3d9545e703 /core | |
parent | 88bddf8ebf6bcd3f07535cfe7dd6b562ce330247 (diff) | |
download | gdx-boardgame-97b9ff462337a1888f0e7cc1e6092e290c2112a9.zip gdx-boardgame-97b9ff462337a1888f0e7cc1e6092e290c2112a9.tar.gz |
HexBoard : tiny code clean up
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java b/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java index e76b0d0..f22b824 100644 --- a/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java +++ b/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java @@ -431,10 +431,10 @@ public class HexBoard implements Board if (dy == 1) return (vertical ? Orientation.NE : Orientation.E); else - return (vertical ? Orientation.SE : Orientation.SE); + return Orientation.SE; } else { if (dy == 1) - return (vertical ? Orientation.NW : Orientation.NW); + return Orientation.NW; else return (vertical ? Orientation.SW : Orientation.W); } |