summaryrefslogtreecommitdiffstats
path: root/core/src
AgeCommit message (Collapse)AuthorFilesLines
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
setup() gives units to players, getPlayer() can then be called This reverts commit eb02cfedf54d1320217881ca017ce2274b23c6a7.
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 ↵Jérémy Zurcher2-7/+13
validation
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 ↵Jérémy Zurcher1-0/+1
roadmap on to
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
2015-01-18PossiblePaths: add error message when getMove() cant find unique PathJérémy Zurcher1-1/+3
2015-01-18Board: remove useless setPawnOnto(... , float)Jérémy Zurcher1-7/+2
2015-01-18remove Pawn.Movement class, use Move insteadJérémy Zurcher7-109/+93
2015-01-18add engine/Move extends PathJérémy Zurcher2-1/+144
2015-01-18StateEscape: hide path and destinationJérémy Zurcher1-0/+1
2015-01-18State: done() -> execute()Jérémy Zurcher13-15/+15