diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-31 01:47:04 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-31 01:47:04 +0100 |
commit | 3d1f6cbaabf630f5a334f43183ff75e06fbf1ee5 (patch) | |
tree | f901f7ccd45600f55c7af9c0c56fd36d38ee5815 /core/src/ch | |
parent | 9af3b6bd500f16ba0f0c579ef89dbf50239de746 (diff) | |
download | RustAndDust-3d1f6cbaabf630f5a334f43183ff75e06fbf1ee5.zip RustAndDust-3d1f6cbaabf630f5a334f43183ff75e06fbf1ee5.tar.gz |
Factory: update battle db table
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Factory.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Factory.java b/core/src/ch/asynk/rustanddust/game/Factory.java index 1d2579a..fb780a3 100644 --- a/core/src/ch/asynk/rustanddust/game/Factory.java +++ b/core/src/ch/asynk/rustanddust/game/Factory.java @@ -57,6 +57,8 @@ public class Factory implements Board.TileBuilder, Disposable new Battle00(this), new BattleTest(this), }; + for (int i = 0; i < battles.length; i++) + game.db.storeBattle(battles[i].getId(), battles[i].getName()); } public void assetsLoaded() |