summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
AgeCommit message (Expand)AuthorFilesLines
2014-11-14Ctrl: call hud.update() instead of hud.playerInfo.update(...)Jérémy Zurcher1-3/+2
2014-11-14Map: call animationDone after attack animationJérémy Zurcher1-1/+1
2014-11-14StateReinforcement: call map.clearAll() on enterJérémy Zurcher1-0/+1
2014-11-14StateReinforcement: coding styleJérémy Zurcher1-1/+2
2014-11-14StateSelect: enter() -> hide action buttonsJérémy Zurcher1-0/+1
2014-11-14StateAnimation: enter() -> hide action buttonsJérémy Zurcher1-0/+1
2014-11-14StateCommon: hide/showPossibleTargetsMovesAssists() -> hide/showPossibilities()Jérémy Zurcher2-6/+6
2014-11-14StateCommon: remove clearAll()Jérémy Zurcher2-10/+4
2014-11-14State,Ctrl,States: state management reworkJérémy Zurcher11-119/+105
2014-11-14PlayerInfo: regroup setLabelPosition(Position) callsJérémy Zurcher1-4/+3
2014-11-14LabelImage: setLabelPosition(Position) triggers setPosition(rect.x, rect.y)Jérémy Zurcher1-0/+1
2014-11-14Ctrl: setState(battle.getState(player)) triggers double turn endJérémy Zurcher1-1/+1
2014-11-13Ctrl: split nextPlayer() -> swicthPlayer() endPlayerTurn() startPlayerTurn()Jérémy Zurcher1-14/+17
2014-11-13Ctrl: entryState -> reinforcementStateJérémy Zurcher1-3/+3
2014-11-13BattleHeadToHead: call deploymentDone() on both playersJérémy Zurcher1-0/+3
2014-11-13Player: add boolean deploymentDone, deploymentDone()Jérémy Zurcher1-0/+10
2014-11-13Ctrl: endPlayerTurn() -> abortPlayerTurn()Jérémy Zurcher2-1/+7
2014-11-13/StateReinforcement: does not need Vector3Jérémy Zurcher1-2/+0
2014-11-13Ctrl: show battle name at startJérémy Zurcher1-0/+3
2014-11-13Config: add and use Battle battleJérémy Zurcher2-0/+8
2014-11-13Battle: add toString()Jérémy Zurcher2-0/+6
2014-11-13BattleHeadToHead: use is(Army) instead os isEnemey(Army)Jérémy Zurcher1-2/+2
2014-11-12BattleHeadToHead: coding styleJérémy Zurcher1-2/+1
2014-11-12BattleCommon: add getFirstPlayer() and getSecondPlayer()Jérémy Zurcher2-12/+10
2014-11-12BattleHeadToHead: fix victory conditionJérémy Zurcher1-1/+1
2014-11-12BattleHeadToHead: remove unused import statementJérémy Zurcher1-4/+0
2014-11-12Battle: add StateType getState(Player player)Jérémy Zurcher3-0/+11
2014-11-12Map: fix pawn orientation on entryJérémy Zurcher1-1/+1
2014-11-12Config: add debug optionJérémy Zurcher1-0/+2
2014-11-12StateReinforcement: abort if no entry point foundJérémy Zurcher1-5/+11
2014-11-12Board,Map...: fix findEntryPoint(...)Jérémy Zurcher5-26/+18
2014-11-12BattleHeadToHead use entryPointJérémy Zurcher1-2/+5
2014-11-12StateEntry -> StateReinforcementJérémy Zurcher4-6/+6
2014-11-12GameScreen,Ctrl: send hud and map coordinates to Ctrl.touchUp/DownJérémy Zurcher1-4/+12
2014-11-11PlayerInfo: remove useless methodsJérémy Zurcher1-10/+0
2014-11-11StateEntry: rewrite, it now controls allJérémy Zurcher1-25/+37
2014-11-11Hud,PlayerInfo: simplify touchUp/Down controlJérémy Zurcher2-26/+31
2014-11-11Ctrl,Hud: replace changeState(...) with stateTouchUp() and toggleState(...)Jérémy Zurcher2-13/+16
2014-11-11WIPJérémy Zurcher1-4/+5
2014-11-11UnitDock: notify selectionJérémy Zurcher1-0/+1
2014-11-11StateEntry: unselect selectedHexJérémy Zurcher1-0/+2
2014-11-11Hud: first chekout reinforcement and unitDock, if not hide DockJérémy Zurcher2-8/+11
2014-11-10Hud: use PlayerInfoJérémy Zurcher3-110/+25
2014-11-10add game/hud/PlayerInfoJérémy Zurcher2-1/+188
2014-11-10UnitDock: support setPosition(Position, float)Jérémy Zurcher2-15/+20
2014-11-10ActionButtons: default position is BOTTOM_RIGHT, fix typoJérémy Zurcher1-2/+2
2014-11-10Position: add up(), down(), isLeft(), isCenter(), isRight()Jérémy Zurcher1-0/+94
2014-11-10BattleHeadToHead: remove unused functionJérémy Zurcher1-5/+0
2014-11-10Battle: add Position getHudPosition(Player player)Jérémy Zurcher2-0/+10
2014-11-10UnitDock: use transform to slide dockJérémy Zurcher1-21/+23