summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/battles
AgeCommit message (Expand)AuthorFilesLines
2016-02-29Battle,Map5Marshal: add boolean full to unload(...)Jérémy Zurcher1-2/+2
2016-02-10BattleCommon: init is one turn, only call map.turnDone() when all is doneJérémy Zurcher1-4/+1
2016-02-10Battle,State: use entry and exit Zones from Unit and MapJérémy Zurcher1-28/+8
2016-02-03Battle: add void init(Ctrl ctrl, String payload)Jérémy Zurcher1-0/+9
2016-02-03BattleCommon: turnDone() calls map.turnDone() after processingJérémy Zurcher1-3/+4
2016-02-03PawnId/UnitID -> PawnCode/UnitCodeJérémy Zurcher3-46/+46
2016-02-03BattleCommon: replace Player a, b with Player[2] playersJérémy Zurcher3-10/+13
2016-02-02Battle[Common]: add String unload() and implement itJérémy Zurcher1-0/+6
2016-02-02BattleCommon: remove empty lineJérémy Zurcher1-1/+0
2016-02-01Battle: add getMap()Jérémy Zurcher1-0/+6
2016-01-31BattleCommon: remove useless Army importJérémy Zurcher1-1/+0
2016-01-31Player,Battle: player id is private and needed at construction, Battle knows ...Jérémy Zurcher3-80/+88
2016-01-31Battle: code reorderJérémy Zurcher1-28/+24
2016-01-28BattleCommon: Factory is finalJérémy Zurcher1-1/+2
2016-01-27Battle: ... ok Battle.init() -> Battle.init(Ctrl) and sets the mapJérémy Zurcher1-2/+3
2016-01-27Battle: add setPlayerIdsJérémy Zurcher1-0/+6
2016-01-27BattleCommon: getNextPlayer is protectedJérémy Zurcher1-1/+1
2016-01-27Battle,Ctrl: clean up initialisation phaseJérémy Zurcher1-6/+1
2016-01-27Player: getTurnDone() + getCurrentTurn() -> getTurn(), turn is increased at t...Jérémy Zurcher2-3/+3
2016-01-25Ctrl: add abstract init() and processTurn()Jérémy Zurcher1-0/+1
2016-01-24remove useless import statementsJérémy Zurcher2-2/+0
2016-01-24Battle: setup return StateType, calls hud.update() when players are setJérémy Zurcher1-5/+11
2016-01-24Battle: merge start() into setup()Jérémy Zurcher3-33/+47
2016-01-24Battles: use add(int, int) instead of add(map.getHex(int, int))Jérémy Zurcher2-25/+25
2016-01-24BattleCommon: add getWinner(int)Jérémy Zurcher3-40/+27
2016-01-22Battles: add _id and descriptionJérémy Zurcher2-0/+9
2016-01-22Battle: add public int getId()Jérémy Zurcher1-0/+7
2016-01-11IterableArray does not extends ArrayList but has it's own implementationJérémy Zurcher1-4/+4
2016-01-11ArrayListIt -> IterableArrayJérémy Zurcher1-3/+3
2016-01-09use ArrayListItJérémy Zurcher1-3/+3
2015-12-24battles: add Battle00Jérémy Zurcher2-1/+122
2015-12-23BattleTest: be a test battle againJérémy Zurcher1-47/+55
2015-12-23game.Factory -> FactoryJérémy Zurcher3-197/+2
2015-12-18cleanup tree using fix_javaJérémy Zurcher1-1/+0
2015-12-18Hud: add options button, not implemented yetJérémy Zurcher1-0/+1
2015-12-18Game: Factory knows about regions and provide themJérémy Zurcher1-9/+38
2015-12-16Factory: get ready for other units graphicsJérémy Zurcher1-12/+32
2015-12-16Factory: pawn -> unitJérémy Zurcher1-22/+22
2015-12-15BattleTest: set something like a real battleJérémy Zurcher1-52/+61
2015-12-15BattleCommon: add abTurnDone()Jérémy Zurcher1-0/+5
2015-12-15Factory: fix US_PERSHING valuesJérémy Zurcher1-1/+1
2015-12-15BattleCommon: swallow setUnit(...) from BattleTestJérémy Zurcher2-20/+21
2015-12-15Unit: 'add boolean hq' attribute, get rid of setAce()Jérémy Zurcher3-37/+25
2015-12-10BattleCommon: set Random seedJérémy Zurcher1-1/+1
2015-12-09Player,BattleCommon: AP computation goes into BattleJérémy Zurcher1-1/+17
2015-12-09Battle: use getWinner() and getNextPlayer()Jérémy Zurcher2-3/+10
2015-12-09Battle: add actionDone()Jérémy Zurcher1-0/+10
2015-12-09Map00: call setup() from constructorJérémy Zurcher1-1/+2
2015-12-09Battle: deploymentDone() -> isDeploymentDone()Jérémy Zurcher1-1/+1
2015-12-09Battle,Ctrl: simplify turn end and changeJérémy Zurcher2-10/+26