summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/battles/BattleTest.java
AgeCommit message (Expand)AuthorFilesLines
2016-05-10BattleTest: use map.getExitZone(int) otherwise usExit is nullJérémy Zurcher1-4/+2
2016-05-04Battle: remove Ctrl from BattleCommon fieldsJérémy Zurcher1-17/+18
2016-03-31Battle: hasReinforcement() -> setNextTurn()Jérémy Zurcher1-13/+8
2016-03-07Battle: clean up the APIJérémy Zurcher1-9/+7
2016-03-07Player: remove id from constructorJérémy Zurcher1-3/+3
2016-02-03PawnId/UnitID -> PawnCode/UnitCodeJérémy Zurcher1-16/+16
2016-02-03BattleCommon: replace Player a, b with Player[2] playersJérémy Zurcher1-2/+2
2016-01-31Player,Battle: player id is private and needed at construction, Battle knows ...Jérémy Zurcher1-24/+32
2016-01-27Player: getTurnDone() + getCurrentTurn() -> getTurn(), turn is increased at t...Jérémy Zurcher1-1/+1
2016-01-24remove useless import statementsJérémy Zurcher1-1/+0
2016-01-24Battle: merge start() into setup()Jérémy Zurcher1-15/+13
2016-01-24Battles: use add(int, int) instead of add(map.getHex(int, int))Jérémy Zurcher1-7/+7
2016-01-24BattleCommon: add getWinner(int)Jérémy Zurcher1-20/+1
2016-01-22Battles: add _id and descriptionJérémy Zurcher1-0/+2
2015-12-24battles: add Battle00Jérémy Zurcher1-1/+1
2015-12-23BattleTest: be a test battle againJérémy Zurcher1-47/+55
2015-12-23game.Factory -> FactoryJérémy Zurcher1-0/+1
2015-12-18cleanup tree using fix_javaJérémy Zurcher1-1/+0
2015-12-15BattleTest: set something like a real battleJérémy Zurcher1-52/+61
2015-12-15BattleCommon: swallow setUnit(...) from BattleTestJérémy Zurcher1-14/+0
2015-12-15Unit: 'add boolean hq' attribute, get rid of setAce()Jérémy Zurcher1-7/+6
2015-12-09Battle: use getWinner() and getNextPlayer()Jérémy Zurcher1-1/+1
2015-12-09Battle,Ctrl: simplify turn end and changeJérémy Zurcher1-4/+10
2015-12-08Battle: remove unused parameters and importsJérémy Zurcher1-8/+5
2015-12-08BattleTest: reorder codeJérémy Zurcher1-15/+15
2015-12-08Battle: owns map, set it and bath player in setup(Ctrl)Jérémy Zurcher1-2/+7
2015-12-08Battle: no need of Player parameter anymoreJérémy Zurcher1-2/+2
2015-12-08Ctrl,Battle: Battle manages currentPlayer and opponentJérémy Zurcher1-15/+5
2015-11-21BattleTest: update start positionsJérémy Zurcher1-12/+10
2015-11-21remove LNL battles, and map definitionsJérémy Zurcher1-1/+1
2015-07-19welcome RustAndDustJérémy Zurcher1-0/+128