summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Ctrl.java
AgeCommit message (Expand)AuthorFilesLines
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
2014-11-01Ctrl: keep a final ref to the BattleJérémy Zurcher1-0/+2
2014-10-31Map,States: implement infantry move after successfull attackJérémy Zurcher1-0/+6
2014-10-28Map: replace ...Count() with direct callsJérémy Zurcher1-1/+1
2014-10-18Ctrl: map must be created before statesJérémy Zurcher1-5/+5
2014-10-18add Battle battles/BattleCommon battles/BattleFakeJérémy Zurcher1-6/+6
2014-10-17Ctrl: use Player player,opponent and swap them on turn endJérémy Zurcher1-23/+14
2014-10-17Army: engine/Army -> interface engine/Faction + enum game/Army implements Fac...Jérémy Zurcher1-1/+0
2014-10-17Army: goes from game to engineJérémy Zurcher1-0/+1
2014-10-17Player: add getName()Jérémy Zurcher1-1/+1
2014-10-17Hud: add notify(String) use it from Ctrl and StateSelectJérémy Zurcher1-1/+1
2014-10-17Hud: use player instead of player.flagJérémy Zurcher1-1/+0
2014-10-17Factory: has a TankOnTank refJérémy Zurcher1-1/+1
2014-10-17Player: currentPlayer()/otherPlayer() -> player()/opponent()Jérémy Zurcher1-21/+21