summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/states
AgeCommit message (Expand)AuthorFilesLines
2014-10-16StateSelect: call map.clearAll() on abort()Jérémy Zurcher1-0/+1
2014-10-16StateSelect: fix buildPossiblesTargets call when select Pawn is an enemyJérémy Zurcher1-1/+5
2014-10-15add attack animationJérémy Zurcher1-4/+2
2014-10-15StatSelect: clear all on abortJérémy Zurcher1-0/+3
2014-10-15Board: unselectHex(GridPoint2) -> selectHex(GridPoint2, boolean)Jérémy Zurcher5-14/+14
2014-10-14add promote actionJérémy Zurcher5-5/+50
2014-10-14Board: add simpler buildPossibleTargetsFrom() based on enemy unitsJérémy Zurcher2-2/+2
2014-10-14Ctrl: use Player[2], randomize first player, add currentPlayer() and otherPla...Jérémy Zurcher2-5/+5
2014-10-13move most of StateCommon helpers to MapJérémy Zurcher5-61/+33
2014-10-13add StateAttackJérémy Zurcher1-0/+93
2014-10-13typo in debug stringJérémy Zurcher1-1/+1
2014-10-13GameState: plugin StateType.ATTACK -> StateAttack() + quick fire, wait for th...Jérémy Zurcher1-5/+13
2014-10-13StateCommon: add showTarget()Jérémy Zurcher1-0/+5
2014-10-13clean debug System.errJérémy Zurcher1-1/+1
2014-10-12StateAnimation: hide hudJérémy Zurcher1-0/+1
2014-10-12add chosen direction overlay when must checkJérémy Zurcher1-1/+3
2014-10-12GameState* -> StateJérémy Zurcher5-31/+32
2014-10-12rename GameCtrl -> CtrlJérémy Zurcher2-5/+5
2014-10-12add a few debug System.errJérémy Zurcher1-0/+1
2014-10-12GameState: fixes cleanup rewriteJérémy Zurcher5-65/+85
2014-10-11GameState: hex,pawn -> selectedHex,selectedPawnJérémy Zurcher4-30/+31
2014-10-10GameState: implement quick move from GameStateSelectJérémy Zurcher2-1/+17
2014-10-10enable rotate from GameStateSelectJérémy Zurcher1-1/+1
2014-10-10GameState: rename enter(boolean flag) to be more excplicite, fix Rotate.enter...Jérémy Zurcher4-6/+11
2014-10-10rework GameStateJérémy Zurcher5-55/+180
2014-10-10get rid of GameStateDirectionJérémy Zurcher1-46/+0
2014-10-09GameState,GameCtrl: add nextState var => void enter(boolean reset)Jérémy Zurcher6-6/+20
2014-10-09GameConfig: add and use canCancel, mustValidateJérémy Zurcher2-2/+2
2014-10-09GameState: use canAttack, canRotate, canMove and simplifyJérémy Zurcher2-9/+16
2014-10-08Map: change enableXyz into showXyzJérémy Zurcher4-19/+19
2014-10-08GameState*: add leave() called before switching, cleanup allJérémy Zurcher6-88/+72
2014-10-08GameState*: updateJérémy Zurcher2-21/+12
2014-10-08GameStateCommon: add showPossibleTargetsMovesAssists(boolean)Jérémy Zurcher1-0/+7
2014-10-08Hex: clarify constantsJérémy Zurcher1-2/+2
2014-10-08typosJérémy Zurcher1-1/+1
2014-10-08GameStateDirection, GameStateSelect: use GameCtrl.ConfigJérémy Zurcher2-7/+7
2014-10-08GameStase*: update according to Map .possible .assits APIJérémy Zurcher3-11/+31
2014-10-08missid 2 reselect(hex) -> reselectHex()Jérémy Zurcher2-2/+2
2014-10-08GameStateView -> GameStateSelectJérémy Zurcher1-3/+3
2014-10-08GameStateRotate: clean up select() unselect() reselect()Jérémy Zurcher6-24/+14
2014-10-07GameStateView: show move assistJérémy Zurcher1-0/+2
2014-10-07GameStateMove: show assist moves, clear correctlyJérémy Zurcher1-5/+7
2014-10-07GameStateDirection: clear allJérémy Zurcher1-1/+6
2014-10-07GameStateCommon: owns 'to', 'from', add unselectHex(GridPoint2)Jérémy Zurcher1-0/+8
2014-10-07GameStates: improve hex selection schemeJérémy Zurcher4-2/+10
2014-10-07clean game states, remove default touchDown behaviour for readabilityJérémy Zurcher5-109/+51
2014-10-06GameStateCommon: null pawn on setHex() to never be out of syncJérémy Zurcher1-0/+1
2014-10-06GameStateRotate: use current selectet pawn if oneJérémy Zurcher2-1/+11
2014-10-06GameStateCommon: downIsHex() -> sameHexes(GridPoint2 a, GridPoint2 b)Jérémy Zurcher1-2/+2
2014-10-06GameStateMove: must clear possible paths first, keep previously selected pawnJérémy Zurcher1-1/+13