summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/ctrl
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-07 15:40:04 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-07 15:40:04 +0100
commitd88c5cc130025eb2a0214436a86c15dad2787589 (patch)
tree604355e533d9c5b7b316ddd4451c36498862436c /core/src/ch/asynk/rustanddust/game/ctrl
parent6a87c1f59fd2fa379aeda871cf4535038756cb5e (diff)
downloadRustAndDust-d88c5cc130025eb2a0214436a86c15dad2787589.zip
RustAndDust-d88c5cc130025eb2a0214436a86c15dad2787589.tar.gz
Player: remove id from constructor
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/ctrl')
-rw-r--r--core/src/ch/asynk/rustanddust/game/ctrl/Solo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
index 212e5ad..58c1a4b 100644
--- a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
+++ b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
@@ -42,11 +42,11 @@ public class Solo extends Ctrl
private void storeState()
{
- game.db.storeState(gameId, battle.getPlayer().getId(), battle.getOpponent().getId(), battle.unload(true));
+ game.db.storeState(gameId, battle.getPlayer().id, battle.getOpponent().id, battle.unload(true));
}
private void storeOrders()
{
- game.db.storeTurn(gameId, battle.getPlayer().getId(), battle.unload(false));
+ game.db.storeTurn(gameId, battle.getPlayer().id, battle.unload(false));
}
}