summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Ctrl.java
AgeCommit message (Expand)AuthorFilesLines
2014-11-30Ctrl,Hud: wait for animations and dialogs to be closed before leaving animati...Jérémy Zurcher1-10/+11
2014-11-30StateDeployment: replace deployment end dialog with OK buttonJérémy Zurcher1-2/+2
2014-11-30Ctrl: comment out player's turn notificationJérémy Zurcher1-1/+1
2014-11-28Ctrl: add commentJérémy Zurcher1-0/+2
2014-11-27Hud,Ctrl,OkCancel: Hud stacks dialogsJérémy Zurcher1-0/+5
2014-11-27Ctrl,Hud: only hit dialogs when in actionJérémy Zurcher1-0/+5
2014-11-27fix runJérémy Zurcher1-5/+0
2014-11-26Ctrl,Map: Map.animationsDone() returns the count of new animations to run, th...Jérémy Zurcher1-4/+6
2014-11-26Map: use ShotAnimationJérémy Zurcher1-0/+1
2014-11-21Ctrl notify Map with actionDone()Jérémy Zurcher1-0/+1
2014-11-20engine.PawnSet is dead : welcome UnitSetJérémy Zurcher1-1/+1
2014-11-19Ctrl: do not simply switch players on turn end but ask for the next oneJérémy Zurcher1-24/+15
2014-11-18add StateEscape and Hud.askExitBoard()Jérémy Zurcher1-0/+14
2014-11-17Battle: getReinforcement(Ctrl) -> getReinforcement(Ctrl, Map)Jérémy Zurcher1-2/+2
2014-11-17Ctrl: do correct calls to battle.getPlayer(...)Jérémy Zurcher1-5/+5
2014-11-17Battle,Ctrl: add boolean getReinforcement(Ctrl)Jérémy Zurcher1-1/+3
2014-11-16Battle: setup(Map, Player, Player) -> setup(Ctrl, Map)Jérémy Zurcher1-1/+1
2014-11-16Ctrl: add Player getPlayer(Army)Jérémy Zurcher1-0/+5
2014-11-16Ctrl: add deploymentDone() might change player order when both doneJérémy Zurcher1-9/+22
2014-11-16Battle: getFirstPlayer(), getSecondPlayer() -> getPlayer(boolean first, boole...Jérémy Zurcher1-2/+2
2014-11-16Ctrl: code reorderJérémy Zurcher1-9/+9
2014-11-16StateDeployment,Ctrl: add done buttonJérémy Zurcher1-0/+5
2014-11-16add StateDeploymentJérémy Zurcher1-0/+6
2014-11-16Ctrl: endDeployment() call state.done()Jérémy Zurcher1-0/+1
2014-11-16Ctrl,Hud: add checkDeploymentDone(), endDeployment(), askEndDeployment()Jérémy Zurcher1-0/+12
2014-11-16Ctrl: typoJérémy Zurcher1-2/+2
2014-11-16Ctrl: code reorderJérémy Zurcher1-14/+14
2014-11-15Ctrl: replace toggleState(StateType, StateType) with reinforcementHit()Jérémy Zurcher1-8/+6
2014-11-15Ctrl: add setAfterAnimationState(StateType)Jérémy Zurcher1-7/+5
2014-11-15Ctrl: actionDone() -> if next state is DONE burn down AP end check for end of...Jérémy Zurcher1-6/+8
2014-11-15Ctrl: move setState(battle.getState(player)); into startPlayerTurn()Jérémy Zurcher1-1/+1
2014-11-14Ctrl: when animations are over: default stateAfterAnimation to StateType.DONEJérémy Zurcher1-2/+5
2014-11-14Ctrl: fix stateType management to ensure sequential changesJérémy Zurcher1-2/+4
2014-11-14State ATTACK -> ENGAGEJérémy Zurcher1-5/+5
2014-11-14Ctrl: import and use State.StateTypeJérémy Zurcher1-16/+16
2014-11-14Ctrl: change debug msgsJérémy Zurcher1-1/+1
2014-11-14Ctrl: call hud.update() instead of hud.playerInfo.update(...)Jérémy Zurcher1-3/+2
2014-11-14State,Ctrl,States: state management reworkJérémy Zurcher1-22/+42
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-13Ctrl: endPlayerTurn() -> abortPlayerTurn()Jérémy Zurcher1-0/+6
2014-11-13Ctrl: show battle name at startJérémy Zurcher1-0/+3
2014-11-12Battle: add StateType getState(Player player)Jérémy Zurcher1-0/+2
2014-11-12StateEntry -> StateReinforcementJérémy Zurcher1-3/+3
2014-11-12GameScreen,Ctrl: send hud and map coordinates to Ctrl.touchUp/DownJérémy Zurcher1-4/+12
2014-11-11Ctrl,Hud: replace changeState(...) with stateTouchUp() and toggleState(...)Jérémy Zurcher1-1/+16
2014-11-10Hud: use PlayerInfoJérémy Zurcher1-3/+3
2014-11-10Ctl,Hud: setup end of game screenJérémy Zurcher1-1/+8
2014-11-10use ActionButtonsJérémy Zurcher1-11/+8