summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
AgeCommit message (Expand)AuthorFilesLines
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 Zurcher1-5/+10
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 Zurcher1-5/+1
2015-01-19Tile,Hex: add exitCost()Jérémy Zurcher1-0/+6
2015-01-19Hex: costFrom() use (Integer.MAX_VALUE/2) to avoid integer overflowJérémy Zurcher1-2/+2
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 Zurcher1-4/+1
2015-01-18Move: add static getEnter() and getSet()Jérémy Zurcher1-7/+2
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-18Map: leaveBoard -> exitBoardJérémy Zurcher5-5/+5
2015-01-18StateSelect: improve debug messageJérémy Zurcher1-1/+1
2015-01-18remove Pawn.Movement class, use Move insteadJérémy Zurcher4-14/+31
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-16PossiblePath: is DisposableJérémy Zurcher1-0/+1
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 Zurcher1-0/+1
2015-01-07Config: default is can not cancelJérémy Zurcher1-1/+1
2015-01-07StateMove: on self select, clear all before switching to ROTATE stateJérémy Zurcher1-0/+4
2015-01-07StateMove: coding styleJérémy Zurcher1-2/+2
2015-01-07StateSelect: unselect hex after quick action checkJérémy Zurcher1-3/+3
2015-01-06UnitDock: do not deselect unit if touch out of it, this mess up dragging, hid...Jérémy Zurcher1-1/+0
2015-01-06StateSelect: unselect on touchUp before reselecting if appropriateJérémy Zurcher1-2/+3
2015-01-06Map,StatePromote: use ctrl.mapTouch as promote animation start pointJérémy Zurcher2-9/+3
2015-01-06GameScreen,Ctrl: mapTouch,hudTouch leave GameScreen for CtrlJérémy Zurcher1-6/+11
2015-01-02use promote_us.mp3 and promote_ge.mp3Jérémy Zurcher1-2/+4
2015-01-02add infantry_move.mp3Jérémy Zurcher1-4/+8
2014-12-31Battle: add init()Jérémy Zurcher3-0/+9
2014-12-31Factory: fix assetsLoaded usageJérémy Zurcher1-1/+2
2014-12-30Battle: add public MapType getMapType();Jérémy Zurcher9-41/+23