summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
AgeCommit message (Expand)AuthorFilesLines
2014-10-17Army: add String and toString()Jérémy Zurcher1-1/+8
2014-10-17Unit: add String to enum UnitId, set descr -> nice toString()Jérémy Zurcher1-16/+22
2014-10-16Hud: correctly init flagJérémy Zurcher1-2/+1
2014-10-16Hud: set Next Player MsgJérémy Zurcher1-1/+1
2014-10-16Msg: add write(String, float)Jérémy Zurcher1-0/+7
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-16TankOnTank: owns Config nowJérémy Zurcher1-2/+2
2014-10-16Map*: recieves TankOnTank it constructionJérémy Zurcher3-9/+12
2014-10-16Ctrl: it is hold in TankOnTank, and recieves Config at constructionJérémy Zurcher1-12/+8
2014-10-16Factory: big cleanupJérémy Zurcher1-68/+74
2014-10-16Hud: fix buttons backgroundJérémy Zurcher1-6/+7
2014-10-15Hud: add MsgJérémy Zurcher1-4/+8
2014-10-15add Hud/MsgJérémy Zurcher1-0/+53
2014-10-15Bg: rect is protectedJérémy Zurcher2-6/+61
2014-10-15add attack animationJérémy Zurcher5-14/+42
2014-10-15Hex: improve debug outputJérémy Zurcher1-3/+4
2014-10-15StatSelect: clear all on abortJérémy Zurcher1-0/+3
2014-10-15Board: unselectHex(GridPoint2) -> selectHex(GridPoint2, boolean)Jérémy Zurcher6-21/+16
2014-10-14Click on Flag to end current player's turnJérémy Zurcher2-1/+10
2014-10-14Hud: on hide, set buttonsRect.set(0, 0, 0, 0);Jérémy Zurcher1-0/+1
2014-10-14add AP burn down debugJérémy Zurcher1-0/+1
2014-10-14add promote actionJérémy Zurcher10-6/+91
2014-10-14Pawn,Unit: add boolean isHqOf(Pawn), Player add boolean canPromote(Pawn)Jérémy Zurcher2-0/+17
2014-10-14Factory: use Unit.UnitIdJérémy Zurcher1-62/+44
2014-10-14Unit: add UnitId idJérémy Zurcher1-3/+26
2014-10-14Board: buildAttack(...) -> buildAttackAssists(...), clean up codeJérémy Zurcher1-2/+2
2014-10-14Pawn,Unit add boolean canAssistAttackWithoutLos() and UnitType.ARTILLERYJérémy Zurcher2-1/+10
2014-10-14Board: add simpler buildPossibleTargetsFrom() based on enemy unitsJérémy Zurcher3-4/+5
2014-10-14Ctrl: use Player[2], randomize first player, add currentPlayer() and otherPla...Jérémy Zurcher4-18/+29
2014-10-14unify error msgsJérémy Zurcher2-2/+2
2014-10-13setup simple scenario startJérémy Zurcher1-14/+16
2014-10-13move most of StateCommon helpers to MapJérémy Zurcher6-65/+59
2014-10-13add StateAttackJérémy Zurcher1-0/+93
2014-10-13Factory: fix HQ unitsJérémy Zurcher1-3/+4
2014-10-13Unit: fix isHq() -> add UnitType.HARD_TARGET_HQJérémy Zurcher1-4/+2
2014-10-13typo in debug stringJérémy Zurcher1-1/+1
2014-10-13Map: support flank attackJérémy Zurcher2-5/+11
2014-10-13Player: add casualty(Pawn)Jérémy Zurcher1-3/+10
2014-10-13Pawn: add isFlankAttack()Jérémy Zurcher1-11/+8
2014-10-13Pawn,Unit: add int getFlankSides()Jérémy Zurcher1-0/+6
2014-10-13Map: fix attackPawn: must mark attacks done whatever the dic rollJérémy Zurcher1-5/+9
2014-10-13Map: boolean attackPawn(Pawn, GridPoint2, GridPoint2, int)Jérémy Zurcher1-0/+22
2014-10-13Hex: add defense debugJérémy Zurcher1-0/+1
2014-10-13Map: add boolean toggleAttackAssist(Pawn)Jérémy Zurcher1-0/+13
2014-10-13Map: buildAttackAssists(Pawn, GridPoint2, Iterator<Pawn>) -> feed activatedPa...Jérémy Zurcher1-0/+3
2014-10-13Map: showAttackAssists(boolean) -> clear Hex.TARGET tooJérémy Zurcher1-1/+3
2014-10-13Map: add int attackAssistsCount()Jérémy Zurcher1-0/+5
2014-10-13Tile,Hex: add int defenseFor(Pawn, List<Pawn>)Jérémy Zurcher1-0/+33
2014-10-13Factory: now use Unit.UnitTypeJérémy Zurcher1-15/+20