summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
AgeCommit message (Expand)AuthorFilesLines
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
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-16PossiblePath: is DisposableJérémy Zurcher2-1/+9
2015-01-16Path: Poolable extracted out of PossiblePathsJérémy Zurcher2-25/+61
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
2015-01-12BattleTest: call setAce() before map.setOnBoard()Jérémy Zurcher1-1/+7
2015-01-12Ctrl: set player before calling battle.setup()Jérémy Zurcher1-1/+1
2015-01-12Board,Map: regroup possiblePaths manipulations in MapJérémy Zurcher2-1/+1
2015-01-08PossiblePaths: getPath is publicJérémy Zurcher1-1/+1
2015-01-08PossiblePaths: improve printToErr()Jérémy Zurcher1-3/+3
2015-01-08PossiblePaths: fix getPath to return asked path not always the firstJérémy Zurcher1-2/+2
2015-01-08SearchBoard: getNode is protectedJérémy Zurcher1-1/+1
2015-01-08Board: getTileOffset() is protectedJérémy Zurcher1-1/+1
2015-01-08Board: each constructor must initialise sides[] arrayJérémy Zurcher1-3/+9
2015-01-08Tile: no more default constructor: col and row must be providedJérémy Zurcher1-1/+3
2015-01-08Tile: add toString()Jérémy Zurcher1-0/+6