summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/states
AgeCommit message (Expand)AuthorFilesLines
2014-11-05StatePromote: Unit p -> Unit unitJérémy Zurcher1-4/+4
2014-11-05game/States: remove useless import statementsJérémy Zurcher8-10/+0
2014-11-01Hup,StateAttack: support and use Msg.pushWrite(...)Jérémy Zurcher1-1/+3
2014-11-01remove unnecessary commentsJérémy Zurcher1-1/+0
2014-11-01StateBreak: use show/hideMove instead of un/selectHexJérémy Zurcher1-4/+4
2014-11-01set new Tile overlays and cleanup usageJérémy Zurcher2-8/+1
2014-11-01add notificationsJérémy Zurcher3-4/+10
2014-11-01Pawn: add attack.calculus String and feed itJérémy Zurcher1-1/+1
2014-11-01StateAttack: opponent gets the casualties not playerJérémy Zurcher1-1/+1
2014-10-31StateCommon: accept touch on OFFMAP Hex, but do not highlight themJérémy Zurcher1-5/+3
2014-10-31StateMove: must call map.possiblePaths.clear() on enterJérémy Zurcher1-0/+1
2014-10-31Map,States: implement infantry move after successfull attackJérémy Zurcher1-1/+6
2014-10-31add game/states/StateBreakJérémy Zurcher1-0/+88
2014-10-31update TODO file and TODO/FIXME commentsJérémy Zurcher1-1/+1
2014-10-31use new PossiblePaths classJérémy Zurcher1-7/+6
2014-10-29rename buildXxxYyy(...) -> collectXxxYyy(...)Jérémy Zurcher3-9/+9
2014-10-29Map: code cleanupJérémy Zurcher1-1/+1
2014-10-29Map,Unit: simplify show/hide functionsJérémy Zurcher5-62/+57
2014-10-29StateCommon: remove unused fromJérémy Zurcher1-2/+0
2014-10-29StateAnimation: do nothing with from and toJérémy Zurcher1-4/+0
2014-10-29Map: possibleTargets and attackAssists are Board.PawnCollection, activablePaw...Jérémy Zurcher2-18/+23
2014-10-28Map: fix buildPossibleMoves(Pawn) and buildPossibleTargets(Pawn, Iterator<Paw...Jérémy Zurcher1-3/+5
2014-10-28Move and Rotate States: adapt to new moveablePawns definitionJérémy Zurcher3-38/+39
2014-10-28Map: add 'Hex getHexAt(float x, float y)'Jérémy Zurcher1-4/+2
2014-10-28States: do not use Pawn but UnitJérémy Zurcher6-61/+61
2014-10-28Add interface Board.TileCollection extends Collection<Tile>Jérémy Zurcher1-1/+1
2014-10-28Map,StateCommon: hidePossibleTargetsMovesAssists() goes from Map to StateCommonJérémy Zurcher2-3/+10
2014-10-28Map: replace show...() with direct call to hide() and show()Jérémy Zurcher4-15/+17
2014-10-28Map: replace isIn...() with direct callsJérémy Zurcher3-7/+7
2014-10-28Map: replace ...Count() with direct callsJérémy Zurcher2-6/+6
2014-10-28Map: HexList are now public, replace clear...() with direct callsJérémy Zurcher2-3/+3
2014-10-28States: use Hex instead of GridPoint2Jérémy Zurcher6-86/+75
2014-10-23Map,BattleFake,StateCommon: match map APIJérémy Zurcher1-1/+1
2014-10-22Tile: replace Vector2 center with int col, row; float x, y;Jérémy Zurcher1-1/+1
2014-10-21StateAttack: on abort clear activated pawns to not burn down an APJérémy Zurcher1-0/+1
2014-10-21StateRotate: cantel does not revert all moves, a move done is doneJérémy Zurcher1-7/+7
2014-10-18StateAttack: clear the target hexJérémy Zurcher1-0/+1
2014-10-17Ctrl: use Player player,opponent and swap them on turn endJérémy Zurcher4-10/+10
2014-10-17Hud: add notify(String) use it from Ctrl and StateSelectJérémy Zurcher1-0/+1
2014-10-17Player: currentPlayer()/otherPlayer() -> player()/opponent()Jérémy Zurcher4-10/+10
2014-10-16StateSelect: call map.clearAll() on abort()Jérémy Zurcher1-0/+1
2014-10-16StateSelect: fix buildPossiblesTargets call when select Pawn is an enemyJérémy Zurcher1-1/+5
2014-10-15add attack animationJérémy Zurcher1-4/+2
2014-10-15StatSelect: clear all on abortJérémy Zurcher1-0/+3
2014-10-15Board: unselectHex(GridPoint2) -> selectHex(GridPoint2, boolean)Jérémy Zurcher5-14/+14
2014-10-14add promote actionJérémy Zurcher5-5/+50
2014-10-14Board: add simpler buildPossibleTargetsFrom() based on enemy unitsJérémy Zurcher2-2/+2
2014-10-14Ctrl: use Player[2], randomize first player, add currentPlayer() and otherPla...Jérémy Zurcher2-5/+5
2014-10-13move most of StateCommon helpers to MapJérémy Zurcher5-61/+33
2014-10-13add StateAttackJérémy Zurcher1-0/+93