summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Ctrl.java
AgeCommit message (Expand)AuthorFilesLines
2016-03-20StateType,Ctrl: add LOADING state and Ctrl.isLoading()Jérémy Zurcher1-2/+9
2016-03-20Ctrl: processAction/Turn() -> action/turnDoneCb() + add orderProcessedCb()Jérémy Zurcher1-2/+3
2016-03-07Ctrl: States are finalJérémy Zurcher1-10/+10
2016-03-07Battle: clean up the APIJérémy Zurcher1-0/+3
2016-03-07Ctrl: only RustAndDust param for constructorJérémy Zurcher1-3/+3
2016-02-18StateDeployment,Ctrl: clean up deployment completness procedureJérémy Zurcher1-7/+4
2016-02-17StateDeployment,Ctrl: call unitDeployed() { battle.actionDone(); } after each...Jérémy Zurcher1-0/+5
2016-01-31Ctrl: remove checkDeploymentDone()Jérémy Zurcher1-8/+0
2016-01-31Ctrl: add processAction, called within Map.actionDone()Jérémy Zurcher1-0/+1
2016-01-31Revert "add ctrl/PvP"Jérémy Zurcher1-4/+0
2016-01-28Ctrl: code reorderJérémy Zurcher1-3/+2
2016-01-27Battle: ... ok Battle.init() -> Battle.init(Ctrl) and sets the mapJérémy Zurcher1-4/+2
2016-01-27Battle,Ctrl: clean up initialisation phaseJérémy Zurcher1-1/+5
2016-01-25add ctrl/PvPJérémy Zurcher1-0/+4
2016-01-25Ctrl: add abstract init() and processTurn()Jérémy Zurcher1-0/+3
2016-01-24Battle: setup return StateType, calls hud.update() when players are setJérémy Zurcher1-9/+7
2016-01-24Battle: merge start() into setup()Jérémy Zurcher1-1/+0
2016-01-19Ctrl: add getCtrl(GameMode)Jérémy Zurcher1-0/+12
2016-01-14add game.ctrl.solo: first step into multimode gameJérémy Zurcher1-1/+1
2016-01-06Ctrl: do not process null HexJérémy Zurcher1-1/+1
2016-01-05Ctrl: check if Player can do something after each action and at turn startJérémy Zurcher1-1/+8
2015-12-24State: replace touchUp() and touchDown() with touch(Hex)Jérémy Zurcher1-19/+12
2015-12-19Hud: replace touchUp + touchDown with hit(int, int)Jérémy Zurcher1-4/+1
2015-12-11Ctl: showEntryZone() does work for StateType.REINFORCEMENT tooJérémy Zurcher1-1/+1
2015-12-10Ctrl: fix action burn down, end of turnJérémy Zurcher1-6/+6
2015-12-09Ctrl: no more AP -> only notify userJérémy Zurcher1-4/+8
2015-12-09Ctrl: improve code readabilityJérémy Zurcher1-39/+48
2015-12-09Ctrl: remove useless if caseJérémy Zurcher1-3/+1
2015-12-09Ctrl: code reorderJérémy Zurcher1-38/+40
2015-12-09Ctrl: code reorderJérémy Zurcher1-8/+8
2015-12-09Ctrl: code reorderJérémy Zurcher1-5/+5
2015-12-09Ctrl: code reorderJérémy Zurcher1-5/+5
2015-12-09Ctrl: code reorderJérémy Zurcher1-28/+28
2015-12-09Ctrl: code reorderJérémy Zurcher1-19/+25
2015-12-09Ctrl: stateTouchUp() -> showEntryZone()Jérémy Zurcher1-4/+6
2015-12-09Ctrl: reorder codeJérémy Zurcher1-34/+36
2015-12-09Ctrl: an isInAnimation param to hid.touchDown(...)Jérémy Zurcher1-11/+3
2015-12-09Ctrl: reduce exchanges between Hud and Ctrl during engagementJérémy Zurcher1-14/+5
2015-12-09Ctrl: call battle.actionDone() instead of map.actionDone()Jérémy Zurcher1-1/+1
2015-12-09Ctrl,Hud: automatically close engagementPanel at the end of animationsJérémy Zurcher1-2/+2
2015-12-09Ctrl: must call hud.update() before setState()Jérémy Zurcher1-1/+1
2015-12-09Battle: add actionDone()Jérémy Zurcher1-4/+1
2015-12-09Ctrl: code reorderJérémy Zurcher1-2/+2
2015-12-09Battle: deploymentDone() -> isDeploymentDone()Jérémy Zurcher1-1/+1
2015-12-09Battle,Ctrl: simplify turn end and changeJérémy Zurcher1-33/+21
2015-12-09Ctrl: code reorderJérémy Zurcher1-5/+5
2015-12-08Ctrl: remove useless cfgJérémy Zurcher1-2/+0
2015-12-08Battle: remove unused parameters and importsJérémy Zurcher1-3/+3
2015-12-08Hud: constructor needs only game parameterJérémy Zurcher1-1/+1
2015-12-08Battle: owns map, set it and bath player in setup(Ctrl)Jérémy Zurcher1-6/+2