summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
AgeCommit message (Expand)AuthorFilesLines
2014-11-19adapt Battles to fix to Player and CtrlJérémy Zurcher7-116/+79
2014-11-19PlayerInfo,Statistics: adapt to new Player turn APIJérémy Zurcher2-2/+2
2014-11-19Hud: differenciate END_TURN end ABORT_TURNJérémy Zurcher1-2/+7
2014-11-19Ctrl: do not simply switch players on turn end but ask for the next oneJérémy Zurcher1-24/+15
2014-11-19Player: turn is turnDone, inc at turnEnd() if deployment doneJérémy Zurcher1-13/+16
2014-11-19add battles/BattleStabToTheFlankJérémy Zurcher2-0/+173
2014-11-19Battles: cleanupJérémy Zurcher4-54/+48
2014-11-19PlayerInfo: use Sprite instead of ImageJérémy Zurcher1-10/+7
2014-11-19StatePromote: use Player.promote(), set activatedPawns, unselect on leaveJérémy Zurcher1-7/+6
2014-11-19Player: promote does all the job, returns booleanJérémy Zurcher1-7/+6
2014-11-19Unit: add private updateDescr()Jérémy Zurcher1-2/+13
2014-11-19splite head into us-head and ge-headJérémy Zurcher1-14/+14
2014-11-19Unit: add HQ = 5 overlayJérémy Zurcher1-6/+14
2014-11-18Map: leaveBoard does not reset Pawn but add it to activatedPawnsJérémy Zurcher1-1/+1
2014-11-18BattleCounterAttack: set geExit.orientation = Orientation.NORTHJérémy Zurcher1-1/+1
2014-11-18StateMove: goto StateEscape when possible to escapeJérémy Zurcher1-3/+15
2014-11-18StateCommon: add checkExit(Unit, Hex)Jérémy Zurcher1-0/+16
2014-11-18add StateEscape and Hud.askExitBoard()Jérémy Zurcher4-0/+94
2014-11-18Hud: factorize closeDialog()Jérémy Zurcher1-4/+4
2014-11-18BattleCounterAttack: add exitZoneJérémy Zurcher1-23/+23
2014-11-18StateCommon: add missing @OverrideJérémy Zurcher1-0/+2
2014-11-18Battle,BattleCommon: add Zone getExitZone(Unit unit) and add param Zone exitZ...Jérémy Zurcher2-0/+21
2014-11-18BattleCommon: add missing @OverrideJérémy Zurcher1-0/+4
2014-11-18Map,StatePromote: state does everything, TODO burn 1 AP downJérémy Zurcher2-8/+3
2014-11-18Unit: add promote(), degrade()Jérémy Zurcher1-0/+28
2014-11-18engine.EntryPoint -> engine.ZoneJérémy Zurcher9-68/+68
2014-11-18StateMove: fix abort when nothing has been doneJérémy Zurcher1-1/+4
2014-11-17add battles/BattleCounterAttack : neede escape possibilityJérémy Zurcher2-0/+177
2014-11-17Player: add ArrayList<Unit> escaped, int escaped(), unitEscape(Unit)Jérémy Zurcher1-0/+13
2014-11-17BattleCommon: add exitPointJérémy Zurcher1-0/+6
2014-11-17BattleLastStand: fix EntryPoint sizeJérémy Zurcher1-1/+1
2014-11-17Battle: getReinforcement(Ctrl) -> getReinforcement(Ctrl, Map)Jérémy Zurcher5-6/+6
2014-11-17add battles/BattleLastStandJérémy Zurcher2-0/+172
2014-11-17Battle: owns usPlayer, gePlayer, implementations return them when neededJérémy Zurcher3-18/+15
2014-11-17Ctrl: do correct calls to battle.getPlayer(...)Jérémy Zurcher1-5/+5
2014-11-17BattleCommon: add addReinforcement(Player, EntryPoint, UnitId, boolean) -> se...Jérémy Zurcher1-0/+6
2014-11-17BattleCommon: remove getPlayer(boolean, boolean) and Army first/secondJérémy Zurcher3-21/+22
2014-11-17Map: use new engagement resolution APIJérémy Zurcher1-6/+15
2014-11-17Unit.FLANK_ATTACK_BONUS = 1Jérémy Zurcher1-0/+2
2014-11-17Tile,Hex: replace int defenseFor(Pawn, Pawn, Board.PawnCollection) with int d...Jérémy Zurcher1-30/+2
2014-11-17Unit: use isA(...)Jérémy Zurcher1-5/+6
2014-11-17Pawn,Unit: add int getDefense(Tile)Jérémy Zurcher1-0/+9
2014-11-17Hex: use isA(...)Jérémy Zurcher1-7/+8
2014-11-17Tile: add interface TileTerrain, boolean isA(TileTerrain terrain)Jérémy Zurcher1-1/+7
2014-11-17UnitDock: references List<Unit> not List<Pawn>Jérémy Zurcher4-27/+22
2014-11-17StateEngage,StateSelect: call Player.unitsAsPawns()Jérémy Zurcher2-4/+4
2014-11-17game.Player swallows engine.Player -> use List<Unit> intead of List<Pawn>Jérémy Zurcher1-14/+91
2014-11-17Pawn,Unit: add interface Pawn.PawnId, boolean isA(PawnId i)Jérémy Zurcher1-4/+10
2014-11-17Player: clean up APIJérémy Zurcher6-12/+12
2014-11-17Battle,Ctrl: add boolean getReinforcement(Ctrl)Jérémy Zurcher4-1/+19