diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-17 10:35:04 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-17 10:35:04 +0200 |
commit | 7173149e8d977647726271573a45e5089c29e377 (patch) | |
tree | 2c1ebcf7acaf70f42b603a6418efc9c6f8ad7a43 /core/src/ch | |
parent | eaf93d27c7fc95524062a2fb90ed83a264ef3691 (diff) | |
download | RustAndDust-7173149e8d977647726271573a45e5089c29e377.zip RustAndDust-7173149e8d977647726271573a45e5089c29e377.tar.gz |
Player: attributes go private again
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Player.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Player.java b/core/src/ch/asynk/tankontank/game/Player.java index 75368cc..b164d2d 100644 --- a/core/src/ch/asynk/tankontank/game/Player.java +++ b/core/src/ch/asynk/tankontank/game/Player.java @@ -23,13 +23,13 @@ public class Player implements Drawable, Disposable private static Random rand = new Random(); - public Army army; - public Image flag; - public Msg status; - public int actionPoints; - public ArrayList<Pawn> units; - public ArrayList<Pawn> casualties; - public ArrayList<Pawn> reinforcement; + private Army army; + private Image flag; + private Msg status; + private int actionPoints; + private ArrayList<Pawn> units; + private ArrayList<Pawn> casualties; + private ArrayList<Pawn> reinforcement; public Player(final TankOnTank game, Army army, BitmapFont font, TextureAtlas atlas, String name, int size) { |