summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-19add hex-overlays/10_exit.pngJérémy Zurcher3-0/+7
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
2015-01-18Tile: add toString()Jérémy Zurcher1-0/+5
2015-01-18PossiblePaths: fix double dispose()Jérémy Zurcher1-1/+0
2015-01-17PossiblePaths: extract Vector3Iterator into self class PathIteratorJérémy Zurcher2-67/+74
2015-01-16fix testsJérémy Zurcher1-2/+2
2015-01-16PossiblePath: is DisposableJérémy Zurcher2-1/+9
2015-01-16Path: Poolable extracted out of PossiblePathsJérémy Zurcher2-25/+61
2015-01-15update testsJérémy Zurcher1-8/+11
2015-01-15PossiblePaths: add inner class Path(cost, roadMarch, [tiles])Jérémy Zurcher1-76/+80
2015-01-13BattleTest: add an exitZoneJérémy Zurcher1-10/+18
2015-01-13StateCommon: move checkExit from StateCommon -> StateMoveJérémy Zurcher2-16/+16
2015-01-13Map: do not set possiblePaths.orientation, states take care of thatJérémy Zurcher4-5/+5
2015-01-13StateRotate: simplifyJérémy Zurcher1-24/+14