summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
AgeCommit message (Expand)AuthorFilesLines
2014-10-22Tile: replace Vector2 center with int col, row; float x, y;Jérémy Zurcher4-7/+7
2014-10-21StateAttack: on abort clear activated pawns to not burn down an APJérémy Zurcher1-0/+1
2014-10-21Map: add clearActivablePawns() and clearActivatedPawns()Jérémy Zurcher1-0/+10
2014-10-21StateRotate: cantel does not revert all moves, a move done is doneJérémy Zurcher1-7/+7
2014-10-201 at-gun attack 1 hard-target -> no consumed APJérémy Zurcher1-4/+5
2014-10-20Map: reorderJérémy Zurcher1-10/+10
2014-10-20Paw,Unit: add boolean isA(PawnType type)Jérémy Zurcher1-7/+13
2014-10-20Unit: canAttack(Pawn other) calls canAttack()Jérémy Zurcher1-1/+1
2014-10-20Pawn,Unit: add boolean isHardTarget() this fixes canMove/Rotate/AttackJérémy Zurcher1-3/+9
2014-10-18StateAttack: clear the target hexJérémy Zurcher1-0/+1
2014-10-18Map: do not clear activable and activated pawn here, states needs themJérémy Zurcher1-2/+0
2014-10-18Ctrl: map must be created before statesJérémy Zurcher1-5/+5
2014-10-18add Battle battles/BattleCommon battles/BattleFakeJérémy Zurcher4-6/+147
2014-10-18move Factory, MapA, MapB into game/battlesJérémy Zurcher3-45/+12
2014-10-17Ctrl: use Player player,opponent and swap them on turn endJérémy Zurcher6-38/+29
2014-10-17Player: -> engine/Player and game/PlayerJérémy Zurcher1-42/+8
2014-10-17Army: engine/Army -> interface engine/Faction + enum game/Army implements Fac...Jérémy Zurcher5-4/+29
2014-10-17Playre: fix setTopLeft()Jérémy Zurcher2-4/+4
2014-10-17Army: goes from game to engineJérémy Zurcher5-37/+9
2014-10-17Player: add turn and apSpent attributesJérémy Zurcher1-7/+9
2014-10-17Player: attributes go private againJérémy Zurcher1-7/+7
2014-10-17Player: add getName()Jérémy Zurcher2-1/+6
2014-10-17Hud: add notify(String) use it from Ctrl and StateSelectJérémy Zurcher3-1/+6
2014-10-17Hud: use player instead of player.flagJérémy Zurcher2-21/+6
2014-10-17Player: add setTopLeft(float,float) -> remove getX/Y/Width/Height, has an sta...Jérémy Zurcher2-26/+19
2014-10-17Factory: has a TankOnTank refJérémy Zurcher2-4/+10
2014-10-17Player: currentPlayer()/otherPlayer() -> player()/opponent()Jérémy Zurcher5-31/+31
2014-10-17Player: attributes becom public, add getX/Y/Width/HeightJérémy Zurcher1-14/+34
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