summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/animations
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2019-12-02 10:03:51 +0100
committerGitHub <noreply@github.com>2019-12-02 10:03:51 +0100
commit428fbc2d6b4e5d1bffcbb9a92ce1760e56363a55 (patch)
tree075e8bf7b9b9a6910adcc9f5c18b000919e18bf9 /core/src/ch/asynk/gdx/boardgame/animations
parent67634ece1a119d0ac05e259ab94cd03c805cda87 (diff)
parent59cd5fadf23b7036e0897f6e575ac0e9cd2fe279 (diff)
downloadgdx-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/animations')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/animations/FireAnimation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/animations/FireAnimation.java b/core/src/ch/asynk/gdx/boardgame/animations/FireAnimation.java
index 1bedb10..d8cf5d7 100644
--- a/core/src/ch/asynk/gdx/boardgame/animations/FireAnimation.java
+++ b/core/src/ch/asynk/gdx/boardgame/animations/FireAnimation.java
@@ -104,7 +104,7 @@ public class FireAnimation implements Animation, Pool.Poolable
Config cfg = configs.get(configName);
if (cfg == null) {
- throw new RuntimeException(String.format("FireAnimation : no configuration named : '%s'", configName));
+ throw new RuntimeException("FireAnimation : no configuration named : '" + configName + "'");
}
a.compute(cfg, x0, y0, x1, y1);