diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-02 10:03:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-02 10:03:51 +0100 |
commit | 428fbc2d6b4e5d1bffcbb9a92ce1760e56363a55 (patch) | |
tree | 075e8bf7b9b9a6910adcc9f5c18b000919e18bf9 /core/src/ch/asynk/gdx/boardgame/boards | |
parent | 67634ece1a119d0ac05e259ab94cd03c805cda87 (diff) | |
parent | 59cd5fadf23b7036e0897f6e575ac0e9cd2fe279 (diff) | |
download | gdx-boardgame-428fbc2d6b4e5d1bffcbb9a92ce1760e56363a55.zip gdx-boardgame-428fbc2d6b4e5d1bffcbb9a92ce1760e56363a55.tar.gz |
Merge pull request #2 from SimonIT/gwt-compatibility
remove string format, it's not available on gwt
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/boards')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/boards/BoardFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/boards/BoardFactory.java b/core/src/ch/asynk/gdx/boardgame/boards/BoardFactory.java index 8eba838..54eaf38 100644 --- a/core/src/ch/asynk/gdx/boardgame/boards/BoardFactory.java +++ b/core/src/ch/asynk/gdx/boardgame/boards/BoardFactory.java @@ -41,7 +41,7 @@ public class BoardFactory break; } if (board == null) { - throw new RuntimeException( String.format("%s board type is not implemented yet.", boardType) ); + throw new RuntimeException(boardType + " board type is not implemented yet."); } Orientation.setValues(board.getAngles()); |