diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-01-15 17:42:30 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-01-15 17:42:30 +0100 |
commit | dd4883bd3896b3d23bd7d489868c54ac7c2f7013 (patch) | |
tree | 3a350027920fa9f1db2bedcd6f0842bece73c453 /test/src/ch/asynk/gdx | |
parent | c6011ade66ad9f897b09f44d17c2f40c4d63e3f0 (diff) | |
download | gdx-boardgame-dd4883bd3896b3d23bd7d489868c54ac7c2f7013.zip gdx-boardgame-dd4883bd3896b3d23bd7d489868c54ac7c2f7013.tar.gz |
Assets : update, add engineer with png and ogg, ttf
Diffstat (limited to 'test/src/ch/asynk/gdx')
-rw-r--r-- | test/src/ch/asynk/gdx/boardgame/test/Assets.java | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/Assets.java b/test/src/ch/asynk/gdx/boardgame/test/Assets.java index 74958a3..2bdad29 100644 --- a/test/src/ch/asynk/gdx/boardgame/test/Assets.java +++ b/test/src/ch/asynk/gdx/boardgame/test/Assets.java @@ -19,19 +19,23 @@ public class Assets extends ch.asynk.gdx.boardgame.Assets public static final String MAP_00 = "map_00.png"; public static final String CHESS = "chess.jpg"; public static final String TRI = "triangle.png"; - public static final String FONT = "veteran-typewriter.ttf"; + public static final String FONT = "american-typewriter.ttf"; public static final String FONT_20 = "size20.ttf"; public static final String FONT_25 = "size25.ttf"; public static final String PATCH = "ui-patch.png"; public static final String PANZER = "panzer.png"; + public static final String ENGINEER = "engineer.png"; public static final String HEX_OVERLAYS = "hex-overlays.atlas"; - public static final String TANK_MOVE_SND = "tank_move.ogg"; + public static final String GUN_FIRE = "gun_fire.png"; + public static final String GUN_FIRE_SND = "gun_fire.ogg"; public static final String SHELL_FIRE = "shell_fire.png"; public static final String SHELL_FIRE_SND = "shell_fire.ogg"; public static final String EXPLOSIONS = "explosions.png"; public static final String EXPLOSION_SND = "explosion.ogg"; public static final String DICE = "dice.png"; public static final String DICE_SND = "dice.ogg"; + public static final String INFANTRY_MOVE_SND = "infantry_move.ogg"; + public static final String TANK_MOVE_SND = "tank_move.ogg"; private final FreeTypeFontLoaderParameter params20; private final FreeTypeFontLoaderParameter params25; @@ -75,15 +79,19 @@ public class Assets extends ch.asynk.gdx.boardgame.Assets load(CORNER, Texture.class); load(PATCH, Texture.class); load(PANZER, Texture.class); + load(ENGINEER, Texture.class); load(FONT_20, BitmapFont.class, params20); load(FONT_25, BitmapFont.class, params25); load(HEX_OVERLAYS, TextureAtlas.class); + load(GUN_FIRE, Texture.class); + load(GUN_FIRE_SND, Sound.class); load(SHELL_FIRE, Texture.class); load(SHELL_FIRE_SND, Sound.class); load(EXPLOSIONS, Texture.class); load(EXPLOSION_SND, Sound.class); load(DICE, Texture.class); load(DICE_SND, Sound.class); + load(INFANTRY_MOVE_SND, Sound.class); load(TANK_MOVE_SND, Sound.class); } @@ -95,15 +103,19 @@ public class Assets extends ch.asynk.gdx.boardgame.Assets unload(CORNER); unload(PATCH); unload(PANZER); + unload(ENGINEER); unload(FONT_20); unload(FONT_25); unload(HEX_OVERLAYS); + unload(GUN_FIRE); + unload(GUN_FIRE_SND); unload(SHELL_FIRE); unload(SHELL_FIRE_SND); unload(EXPLOSIONS); unload(EXPLOSION_SND); unload(DICE); unload(DICE_SND); + unload(INFANTRY_MOVE_SND); unload(TANK_MOVE_SND); } } |