summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/boards
diff options
context:
space:
mode:
authorSimonIT <simonit.orig@gmail.com>2019-11-30 22:53:20 +0100
committerSimonIT <simonit.orig@gmail.com>2019-11-30 22:53:20 +0100
commitcebc564fa403bb2c215b4833400cbfb283d1077f (patch)
treefe71c71747f7f5cca74bebb4013aeb991366a5dd /core/src/ch/asynk/gdx/boardgame/boards
parent67634ece1a119d0ac05e259ab94cd03c805cda87 (diff)
downloadgdx-boardgame-cebc564fa403bb2c215b4833400cbfb283d1077f.zip
gdx-boardgame-cebc564fa403bb2c215b4833400cbfb283d1077f.tar.gz
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.java2
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());