summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-01 09:51:51 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-01 09:51:51 +0100
commit35d52093d9d38d9362fd17b824ddcb43578b0fca (patch)
tree74909ce5af2d951c325381491d805fadd33f915a /core/src
parent402a3a97a81f57a8c56b2eafc014765e0f6de187 (diff)
downloadRustAndDust-35d52093d9d38d9362fd17b824ddcb43578b0fca.zip
RustAndDust-35d52093d9d38d9362fd17b824ddcb43578b0fca.tar.gz
RustAndDust: add error(String)
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/RustAndDust.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/RustAndDust.java b/core/src/ch/asynk/rustanddust/RustAndDust.java
index 8e8a384..01e89e7 100644
--- a/core/src/ch/asynk/rustanddust/RustAndDust.java
+++ b/core/src/ch/asynk/rustanddust/RustAndDust.java
@@ -83,6 +83,11 @@ public class RustAndDust extends Game
this.backend = backend;
}
+ public static void error(String msg)
+ {
+ Gdx.app.error(DOM, msg);
+ }
+
public static void debug(String msg)
{
Gdx.app.debug(DOM, msg);