summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Ctrl.java
AgeCommit message (Expand)AuthorFilesLines
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
2014-11-07Ctrl: add public boolean blockMapJérémy Zurcher1-2/+4
2014-11-06Battle: boolean checkVictory(Ctrl) -> Player checkVictory(Ctrl)Jérémy Zurcher1-2/+3
2014-11-06add TankOnTank.debug(...)Jérémy Zurcher1-4/+3
2014-11-05add game/states/StateEntryJérémy Zurcher1-1/+7
2014-11-04Ctrl: keep track of current StateType, notify Hud on changeJérémy Zurcher1-1/+5
2014-11-02Ctrl: fix battle.checkVictory()Jérémy Zurcher1-2/+2
2014-11-02Player,Hud: move all graphics from Player to HudJérémy Zurcher1-0/+3
2014-11-01Battle: add public boolean checkVictory(Ctrl ctrl); and implement itJérémy Zurcher1-0/+3