summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Ctrl.java
AgeCommit message (Expand)AuthorFilesLines
2015-01-18State: done() -> execute()Jérémy Zurcher1-2/+2
2015-01-12Ctrl: set player before calling battle.setup()Jérémy Zurcher1-1/+1
2015-01-06GameScreen,Ctrl: mapTouch,hudTouch leave GameScreen for CtrlJérémy Zurcher1-6/+11
2014-12-31Battle: add init()Jérémy Zurcher1-0/+2
2014-12-30replace screens/ LoadScreen,OptionsScreen with MenuScreen,MenuBgCameraJérémy Zurcher1-1/+1
2014-12-30TankOnTank: does the screen switchingJérémy Zurcher1-3/+1
2014-12-27move base ui widgets into core/src/ch/asynk/tankontank/uiJérémy Zurcher1-1/+1
2014-12-19Ctrl,StateDeployment: ask for end deployment, if so call turnDone() after set...Jérémy Zurcher1-1/+1
2014-12-19Hud,Ctrl: add askEndDeployment() calls setState(DONE)Jérémy Zurcher1-1/+9
2014-12-18Ctrl: improve debug stringJérémy Zurcher1-2/+2
2014-12-18Ctrl,Hud: remove askEndDeployment() dead codeJérémy Zurcher1-9/+1
2014-12-18Ctrl: improve state switch debug stringJérémy Zurcher1-1/+1
2014-12-18Ctrl: deploymentDone() notify the user and complete it's taskJérémy Zurcher1-3/+2
2014-12-18Hud: add notifyDeploymentDone(), notifyEndOfTurn() -> notifyNoMoreAP()Jérémy Zurcher1-1/+1
2014-12-18Ctrl: stateTouchUp() does out of map down/up before calling state.touchUp()Jérémy Zurcher1-4/+6
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