X-Git-Url: https://deadsoftware.ru/gitweb?p=cavedroid.git;a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavecraft%2FCaveGame.java;h=37fd2e109498b1ddddd218045e7e215feddf0f47;hp=d95c4774ab3587a8f852fa1f7245f146bd2e8d32;hb=bea2a3c5b967bcd90ccd83e08e833d58449e963a;hpb=c217099d21a0703347236f2d83e4d20c266f9be1 diff --git a/core/src/ru/deadsoftware/cavecraft/CaveGame.java b/core/src/ru/deadsoftware/cavecraft/CaveGame.java index d95c477..37fd2e1 100644 --- a/core/src/ru/deadsoftware/cavecraft/CaveGame.java +++ b/core/src/ru/deadsoftware/cavecraft/CaveGame.java @@ -6,37 +6,37 @@ import ru.deadsoftware.cavecraft.misc.AppState; public class CaveGame extends Game { - public static final String VERSION = "alpha 0.4-dev"; - public static String GAME_FOLDER; - - public static AppState STATE; - - public static boolean TOUCH; - - public CaveGame() { - this(false); - } - - public CaveGame(boolean touch) { - TOUCH = touch; - STATE = AppState.MENU_MAIN; - } - - @Override - public void create () { - switch (Gdx.app.getType()) { - case Desktop: - GAME_FOLDER = System.getProperty("user.home")+"/.cavecraft"; - break; - case Android: - GAME_FOLDER = "/sdcard/cavecraft"; - break; - default: - Gdx.app.exit(); - } - Gdx.app.log("CaveGame", GAME_FOLDER); - Gdx.files.absolute(GAME_FOLDER).mkdirs(); - setScreen(new GameScreen()); - } + public static final String VERSION = "alpha 0.4"; + public static String GAME_FOLDER; + + public static AppState STATE; + + public static boolean TOUCH; + + public CaveGame() { + this(false); + } + + public CaveGame(boolean touch) { + TOUCH = touch; + STATE = AppState.MENU_MAIN; + } + + @Override + public void create() { + switch (Gdx.app.getType()) { + case Desktop: + GAME_FOLDER = System.getProperty("user.home") + "/.cavecraft"; + break; + case Android: + GAME_FOLDER = "/sdcard/cavecraft"; + break; + default: + Gdx.app.exit(); + } + Gdx.app.log("CaveGame", GAME_FOLDER); + Gdx.files.absolute(GAME_FOLDER).mkdirs(); + setScreen(new GameScreen()); + } }