summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/battles
AgeCommit message (Expand)AuthorFilesLines
2016-03-21Battle,Map5Marshal: implements util/MarshalJérémy Zurcher1-4/+23
2016-03-21BattleCommon,Map5Marshal: move JsonWriter & JsonReader usage from Map to BattleJérémy Zurcher1-3/+16
2016-03-14DB/BattleCommon: add turnCountJérémy Zurcher1-2/+13
2016-03-14BattleCommon: loadd(String) sets currentPlayerJérémy Zurcher1-0/+1
2016-03-07Battle: clean up the APIJérémy Zurcher3-39/+41
2016-03-07Player: remove id from constructorJérémy Zurcher3-8/+10
2016-03-07BattleCommon: code compressionJérémy Zurcher1-35/+6
2016-03-07BattleCommon: getWinner() first check if one player has no more unitsJérémy Zurcher1-3/+3
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