summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
AgeCommit message (Expand)AuthorFilesLines
2015-02-02Position: support bottom,left offsetJérémy Zurcher1-12/+21
2015-01-22engine.Pawn.Engagement -> engine.AttackJérémy Zurcher2-22/+27
2015-01-21PathBuilder: setExit() do not add a tile in path if to==fromJérémy Zurcher1-2/+4
2015-01-21StateWithdraw: fix rotation move detectionJérémy Zurcher1-1/+2
2015-01-21StateWithdraw: escape -> withdrawJérémy Zurcher1-2/+2
2015-01-21StateMove: coding styleJérémy Zurcher2-8/+3
2015-01-21BattleTest: add exit Zone to reinforcementJérémy Zurcher1-2/+5
2015-01-21StateExit -> StateWithdrawJérémy Zurcher4-10/+10
2015-01-21Player: escaped -> withdrawed, add it to statsJérémy Zurcher5-13/+13
2015-01-21StateMove: when unit just entered, do not propose to exit alreadyJérémy Zurcher1-0/+2
2015-01-21Board: findBestEntry return Orientation.opposite()Jérémy Zurcher1-1/+1
2015-01-21cleanup debug messagesJérémy Zurcher2-2/+2
2015-01-21Map: code intentationJérémy Zurcher1-2/+2
2015-01-21Map: oops, REGULAR move does not remove unit from playerJérémy Zurcher1-1/+5
2015-01-21Objective[Set]: move from game to engine packageJérémy Zurcher5-146/+185
2015-01-21BattleTest: do not add unit twiceJérémy Zurcher1-1/+0
2015-01-20PossiblePaths -> PathBuilderJérémy Zurcher6-41/+41
2015-01-20StateEscape -> StateExitJérémy Zurcher2-7/+5
2015-01-20StateEscape: take care of null to when exit without movingJérémy Zurcher1-1/+2
2015-01-20StateEngagement: click on attack leader to abortJérémy Zurcher1-2/+4
2015-01-20Ctrl: fix 38573f8 logic errorJérémy Zurcher1-1/+1
2015-01-20BattleTest: add 2 objectives, call map.turnDone()Jérémy Zurcher1-0/+3
2015-01-20Map: add turnDone(), call turnDone() and actionDone() from CtrlJérémy Zurcher2-0/+7
2015-01-20Ctrl: block EndOfTurn except in SELECT stateJérémy Zurcher2-2/+1
2015-01-20StateDeployment: fix undoJérémy Zurcher1-2/+5
2015-01-20ActionButtons: fix position updateJérémy Zurcher2-2/+7
2015-01-19BattleCommon: show exitZoneJérémy Zurcher1-0/+2
2015-01-19Hex,Map: add Hex.EXIT, showExit(Hex) hideExit(Hex)Jérémy Zurcher2-0/+3
2015-01-19BattleTest: fix setUnit(), ctrl.player must be setJérémy Zurcher1-0/+2
2015-01-19Revert "Ctrl: set player before calling battle.setup()"Jérémy Zurcher1-1/+1
2015-01-19Map: move player.blah calls from States -> MapJérémy Zurcher4-5/+4
2015-01-19StateEscape: if exit from unit hex, build stay path, add runtime exitHex vali...Jérémy Zurcher2-7/+13
2015-01-19StateMove: can exit from exit zone hexJérémy Zurcher1-2/+2
2015-01-19Hex: Orientation.KEEP move -> stay -> cost 0Jérémy Zurcher1-0/+1
2015-01-19PossiblePaths: add boolean canExit(Orientation o)Jérémy Zurcher2-5/+22
2015-01-19Tile,Hex: add exitCost()Jérémy Zurcher2-0/+7
2015-01-19Hex: costFrom() use (Integer.MAX_VALUE/2) to avoid integer overflowJérémy Zurcher1-2/+2
2015-01-19Board: strongly link getAdjTileAt() with getSide()Jérémy Zurcher1-6/+6
2015-01-19Board: findBestEntry must use opposite Orientation to compute costs and roadm...Jérémy Zurcher1-0/+1
2015-01-19Board: setAdjacentTiles() uses getAdjTileAt()Jérémy Zurcher1-6/+6
2015-01-19Map: add private process(Unit, Move)Jérémy Zurcher1-17/+37
2015-01-18StateDeployment: set selectedUnit to null at enterJérémy Zurcher1-0/+1
2015-01-18Map: advertise States entry callsJérémy Zurcher1-1/+3
2015-01-18PossiblePaths: add getExitMove()Jérémy Zurcher3-9/+8
2015-01-18Move: add static getEnter() and getSet()Jérémy Zurcher2-19/+18
2015-01-18Map: extract playMoveSound(Unit) out of startMove(Unit)Jérémy Zurcher1-1/+6
2015-01-18Map: exitBoard() does move the unit, add revertEnter(Unit)Jérémy Zurcher5-16/+24
2015-01-18Board: getSetPawnOntoAnimation() does nothing if destination Tile is OffMapJérémy Zurcher1-1/+3
2015-01-18Map: leaveBoard -> exitBoardJérémy Zurcher5-5/+5
2015-01-18StateSelect: improve debug messageJérémy Zurcher1-1/+1