summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Unit.java
AgeCommit message (Expand)AuthorFilesLines
2014-11-06add TankOnTank.debug(...)Jérémy Zurcher1-3/+5
2014-11-05Pawn: enter/rotate/move/attack -> move() and attack()Jérémy Zurcher1-17/+9
2014-11-05Pawn.Attack: .reset() and .toString()Jérémy Zurcher1-0/+1
2014-11-05Unit: indentJérémy Zurcher1-4/+4
2014-11-05Pawn,Unit: add enter(int cost)Jérémy Zurcher1-1/+13
2014-11-01clean up Pawn overlaysJérémy Zurcher1-7/+7
2014-10-31Unit: artillery is an hard target tooJérémy Zurcher1-1/+1
2014-10-30Pawn: remove boolean canBeAttacked(Pawn) -> use boolean canAttack(Pawn)Jérémy Zurcher1-6/+0
2014-10-29Unit: use common consturctorJérémy Zurcher1-2/+2
2014-10-29Map,Unit: simplify show/hide functionsJérémy Zurcher1-18/+9
2014-10-29Pawn: add boolean canBeAttacked(Pawn other)Jérémy Zurcher1-0/+6
2014-10-29Unit: add ATTACK_ASSIST overlayJérémy Zurcher1-0/+6
2014-10-28Unit: add overlays methods showMoveable(), showAttack(), showTarget()Jérémy Zurcher1-1/+18
2014-10-28Unit: add getHex()Jérémy Zurcher1-0/+5
2014-10-28use 4 atlases, set Unit overlaysJérémy Zurcher1-6/+6
2014-10-20Paw,Unit: add boolean isA(PawnType type)Jérémy Zurcher1-7/+13
2014-10-20Unit: canAttack(Pawn other) calls canAttack()Jérémy Zurcher1-1/+1
2014-10-20Pawn,Unit: add boolean isHardTarget() this fixes canMove/Rotate/AttackJérémy Zurcher1-3/+9
2014-10-17Army: engine/Army -> interface engine/Faction + enum game/Army implements Fac...Jérémy Zurcher1-1/+0
2014-10-17Army: goes from game to engineJérémy Zurcher1-18/+5
2014-10-17Unit: add String to enum UnitId, set descr -> nice toString()Jérémy Zurcher1-16/+22
2014-10-14Pawn,Unit: add boolean isHqOf(Pawn), Player add boolean canPromote(Pawn)Jérémy Zurcher1-0/+9
2014-10-14Unit: add UnitId idJérémy Zurcher1-3/+26
2014-10-14Pawn,Unit add boolean canAssistAttackWithoutLos() and UnitType.ARTILLERYJérémy Zurcher1-1/+8
2014-10-14unify error msgsJérémy Zurcher1-1/+1
2014-10-13Unit: fix isHq() -> add UnitType.HARD_TARGET_HQJérémy Zurcher1-4/+2
2014-10-13Pawn,Unit: add int getFlankSides()Jérémy Zurcher1-0/+6
2014-10-13Unit: set UnitType, fix getAttackRangeFrom(Tile)Jérémy Zurcher1-9/+17
2014-10-12Unit: add isEnemy(Army)Jérémy Zurcher1-0/+5
2014-10-12Unit: reorder constructorsJérémy Zurcher1-28/+30
2014-10-10Unit: implement attack(Pawn), revertLastMove() rotate(Orientation)Jérémy Zurcher1-6/+17
2014-10-09Paw,Unit: set fire() rotate() move(in), reset()Jérémy Zurcher1-4/+42
2014-10-08Pawn,Unit: add canMove() and canAttack()Jérémy Zurcher1-0/+14
2014-10-07Pawn,Unit: add isHq()Jérémy Zurcher1-0/+6
2014-10-05Unit: implement boolean canAttack(Pawn other)Jérémy Zurcher1-0/+6
2014-10-04fix according to new assetsJérémy Zurcher1-4/+4
2014-09-30Pawn/Unit: add boolean isUnit()Jérémy Zurcher1-0/+6
2014-09-25HT have range + 1 if on hillJérémy Zurcher1-0/+1
2014-09-25Pawn, Unit: add getAttackRangeFrom(Tile)Jérémy Zurcher1-0/+7
2014-09-25Pawn.getMvt -> Pawn.getMovementPointsJérémy Zurcher1-1/+1
2014-09-25Pawn, Unit: add int getAngleOfAttack()Jérémy Zurcher1-0/+6
2014-09-25Pawn.roadMarch() -> Pawn.getRoadMarchBonus()Jérémy Zurcher1-1/+1
2014-09-25Unit extends HeadedPawnJérémy Zurcher1-5/+8
2014-09-24Pawn,Unit,Army: implement isEnemy(Pawn)Jérémy Zurcher1-0/+6
2014-09-24Tile.roadMarchBonus() -> Pawn.roadMarch()Jérémy Zurcher1-1/+10
2014-09-24Pawn and Unit: int getMvt()Jérémy Zurcher1-0/+3
2014-09-22add unitAtlasJérémy Zurcher1-4/+4
2014-09-22Pawn mignt have overlaysJérémy Zurcher1-0/+1
2014-09-21update Map,Hex,Unit extends Board,Tile,Pawn fix GameScreenJérémy Zurcher1-2/+2
2014-09-21PawnNode -> PawnImage does not implement Node anymoreJérémy Zurcher1-2/+2