From cbcfb75fbd51915b68c51d15d85fe102a85b50de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 3 Feb 2016 01:00:16 +0100 Subject: Player: add setTurn(turn, ap, apSent) --- core/src/ch/asynk/rustanddust/game/Player.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/ch/asynk/rustanddust/game/Player.java b/core/src/ch/asynk/rustanddust/game/Player.java index 3ed012b..1263ff4 100644 --- a/core/src/ch/asynk/rustanddust/game/Player.java +++ b/core/src/ch/asynk/rustanddust/game/Player.java @@ -40,6 +40,13 @@ public class Player this.engagementLost = 0; } + public void setTurn(int turn, int ap, int apSpent) + { + this.turn = turn; + this.ap = ap; + this.apSpent = apSpent; + } + public int getId() { return id; -- cgit v1.1-2-g2b99