summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/states
AgeCommit message (Expand)AuthorFilesLines
2017-05-18StateCommon : select(Unit) activate(Unit) -> u.select(boolean)Jérémy Zurcher8-96/+118
2016-05-10StateSelect: call clear() on postTurnDone()Jérémy Zurcher1-0/+1
2016-05-10Battle: clean up map.clear() usageJérémy Zurcher2-2/+4
2016-05-04StateSelect: clear() on reinforcement dock togggleJérémy Zurcher1-0/+3
2016-05-04StateEngage: doBreakMove() uses buildShortest(Tile)Jérémy Zurcher1-2/+1
2016-05-04StateEngage: doRotation(Orientation) -> doBreakMove(Orientation)Jérémy Zurcher1-2/+2
2016-05-03OMG: add event queue, messages, replay, bounce animation, complete states rew...Jérémy Zurcher12-653/+575
2016-03-31StateEngage: remove useless importJérémy Zurcher1-1/+0
2016-03-30StateReplay: remove useless switch branch for PROMOTE OrderJérémy Zurcher1-2/+0
2016-03-30State: use ctrl.post(StateType) instead of ctrl.setState(StateType)Jérémy Zurcher9-21/+21
2016-03-30StateReplay: clear order when finishedJérémy Zurcher1-1/+3
2016-03-29StateReplay: use Order.cost to be aware of action completnessJérémy Zurcher1-1/+2
2016-03-29StateReplay: improve readabilityJérémy Zurcher1-3/+4
2016-03-29StateReplay: fix selectedUnitJérémy Zurcher1-1/+3
2016-03-29StateReplay: Order is privateJérémy Zurcher1-1/+1
2016-03-29add states/StateReplayJérémy Zurcher1-0/+83
2016-03-29StateMove: be sure activable are shownJérémy Zurcher1-0/+1
2016-03-29StateEngage: simplify, do not recomputeJérémy Zurcher1-7/+1
2016-03-26StateMove: hideAssists() -> hideActivable()Jérémy Zurcher1-3/+3
2016-03-26StateEngage: remove useless debug messageJérémy Zurcher1-2/+1
2016-03-26Map4Rotate: methods called by States returns booleanJérémy Zurcher2-4/+10
2016-03-24State leave/enter -> leaveFor/enterFromJérémy Zurcher10-20/+20
2016-03-23Map: moveableUnits,assistUnits,breakthroughUnits -> activableUnitsJérémy Zurcher6-13/+14
2016-02-18StateDeployment,Ctrl: clean up deployment completness procedureJérémy Zurcher1-4/+1
2016-02-17StateDeployment,Ctrl: call unitDeployed() { battle.actionDone(); } after each...Jérémy Zurcher1-0/+2
2016-02-10Battle,State: use entry and exit Zones from Unit and MapJérémy Zurcher4-12/+7
2016-01-31Ctrl: remove checkDeploymentDone()Jérémy Zurcher1-5/+3
2016-01-09while, for, if codding styleJérémy Zurcher2-2/+2
2016-01-09StateBreak: remove useless import statementJérémy Zurcher1-1/+0
2016-01-04StateMove: fix checkExit(Hex) usage, and path buildingJérémy Zurcher1-15/+20
2016-01-04PathBuilder: replace setExit(Orientation) with chooseExit(Orientation)Jérémy Zurcher1-4/+2
2016-01-04StateMove: split checkExit() -> inplace | from hexJérémy Zurcher1-5/+14
2016-01-04StateBreak: use chooseShortest()Jérémy Zurcher1-6/+5
2016-01-04PathBuilder: choosePath() -p chooseBest()Jérémy Zurcher1-1/+1
2016-01-04PathBuilder: impove error msgsJérémy Zurcher2-2/+2
2015-12-30Config: add autoPath = trueJérémy Zurcher1-1/+1
2015-12-26StateWithdraw: add debug error if many pathsJérémy Zurcher1-0/+4
2015-12-26States*: remove uselss empty lines in importsJérémy Zurcher5-6/+0
2015-12-26StateRotate: hide move assists on enter if option is offJérémy Zurcher1-0/+2
2015-12-24State: replace touchUp() and touchDown() with touch(Hex)Jérémy Zurcher11-124/+48
2015-12-24States: do not use downHex or upHex out of touchDown() and touchUp()Jérémy Zurcher2-5/+5
2015-12-23StateRotate: fix bug when in HQ activation, start rotate, but do not complete itJérémy Zurcher1-1/+4
2015-12-18cleanup tree using fix_javaJérémy Zurcher7-10/+0
2015-12-15Player,StatisticsPanel: add Objectives countJérémy Zurcher1-2/+2
2015-12-15StateDeployment: no need to revert beforec calling setOnBoard() the latest do...Jérémy Zurcher1-1/+0
2015-12-15StateDeployment: code cleanupJérémy Zurcher1-16/+17
2015-12-14StateDeployment: fix missing or extra SET ordersJérémy Zurcher1-4/+4
2015-12-14Unit: show/hideMoveable -> show/hideActiveable, change png tooJérémy Zurcher3-8/+6
2015-12-10Revert "StateDeployment: call Map.setOnBoard() remove Map.showOnBoard()"Jérémy Zurcher1-1/+1
2015-12-10Hud: by default notify at MIDDLE_CENTERJérémy Zurcher3-3/+5