summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Unit.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/Unit.java')
-rw-r--r--core/src/ch/asynk/tankontank/game/Unit.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java
index 3a144b2..316f664 100644
--- a/core/src/ch/asynk/tankontank/game/Unit.java
+++ b/core/src/ch/asynk/tankontank/game/Unit.java
@@ -16,9 +16,9 @@ public class Unit extends Pawn
public Army army;
// hard tager
- public Unit(Army army, boolean hq, int range, int defense, int movementPoints, TextureRegion region)
+ public Unit(Army army, boolean hq, int range, int defense, int movementPoints, TextureRegion region, TextureAtlas atlas)
{
- super(region);
+ super(region, atlas);
this.army = army;
this.hq = hq;
this.rng = range;
@@ -28,9 +28,9 @@ public class Unit extends Pawn
}
// soft tager
- public Unit(Army army, boolean hq, int range, int defense, int concealedDefense, int movementPoints, TextureRegion region)
+ public Unit(Army army, boolean hq, int range, int defense, int concealedDefense, int movementPoints, TextureRegion region, TextureAtlas atlas)
{
- super(region);
+ super(region, atlas);
this.army = army;
this.hq = hq;
this.rng = range;