diff options
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Config.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Config.java b/core/src/ch/asynk/rustanddust/game/Config.java index 2c27c35..cd5c0f4 100644 --- a/core/src/ch/asynk/rustanddust/game/Config.java +++ b/core/src/ch/asynk/rustanddust/game/Config.java @@ -18,6 +18,14 @@ public class Config return MINE; return ORIGINAL; } + public Graphics get(int i) + { + if (i == MINE.i) + return MINE; + else if (i == ORIGINAL.i) + return ORIGINAL; + return null; + } }; public enum GameMode |