summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Ctrl.java
AgeCommit message (Expand)AuthorFilesLines
2014-11-12StateEntry -> StateReinforcementJérémy Zurcher1-3/+3
2014-11-12GameScreen,Ctrl: send hud and map coordinates to Ctrl.touchUp/DownJérémy Zurcher1-4/+12
2014-11-11Ctrl,Hud: replace changeState(...) with stateTouchUp() and toggleState(...)Jérémy Zurcher1-1/+16
2014-11-10Hud: use PlayerInfoJérémy Zurcher1-3/+3
2014-11-10Ctl,Hud: setup end of game screenJérémy Zurcher1-1/+8
2014-11-10use ActionButtonsJérémy Zurcher1-11/+8
2014-11-07Ctrl: add public boolean blockMapJérémy Zurcher1-2/+4
2014-11-06Battle: boolean checkVictory(Ctrl) -> Player checkVictory(Ctrl)Jérémy Zurcher1-2/+3
2014-11-06add TankOnTank.debug(...)Jérémy Zurcher1-4/+3
2014-11-05add game/states/StateEntryJérémy Zurcher1-1/+7
2014-11-04Ctrl: keep track of current StateType, notify Hud on changeJérémy Zurcher1-1/+5
2014-11-02Ctrl: fix battle.checkVictory()Jérémy Zurcher1-2/+2
2014-11-02Player,Hud: move all graphics from Player to HudJérémy Zurcher1-0/+3
2014-11-01Battle: add public boolean checkVictory(Ctrl ctrl); and implement itJérémy Zurcher1-0/+3
2014-11-01Ctrl: keep a final ref to the BattleJérémy Zurcher1-0/+2
2014-10-31Map,States: implement infantry move after successfull attackJérémy Zurcher1-0/+6
2014-10-28Map: replace ...Count() with direct callsJérémy Zurcher1-1/+1
2014-10-18Ctrl: map must be created before statesJérémy Zurcher1-5/+5
2014-10-18add Battle battles/BattleCommon battles/BattleFakeJérémy Zurcher1-6/+6
2014-10-17Ctrl: use Player player,opponent and swap them on turn endJérémy Zurcher1-23/+14
2014-10-17Army: engine/Army -> interface engine/Faction + enum game/Army implements Fac...Jérémy Zurcher1-1/+0
2014-10-17Army: goes from game to engineJérémy Zurcher1-0/+1
2014-10-17Player: add getName()Jérémy Zurcher1-1/+1
2014-10-17Hud: add notify(String) use it from Ctrl and StateSelectJérémy Zurcher1-1/+1
2014-10-17Hud: use player instead of player.flagJérémy Zurcher1-1/+0
2014-10-17Factory: has a TankOnTank refJérémy Zurcher1-1/+1
2014-10-17Player: currentPlayer()/otherPlayer() -> player()/opponent()Jérémy Zurcher1-21/+21
2014-10-16TankOnTank: owns Config nowJérémy Zurcher1-2/+2
2014-10-16Ctrl: it is hold in TankOnTank, and recieves Config at constructionJérémy Zurcher1-12/+8
2014-10-14Click on Flag to end current player's turnJérémy Zurcher1-0/+6
2014-10-14add promote actionJérémy Zurcher1-0/+6
2014-10-14Ctrl: use Player[2], randomize first player, add currentPlayer() and otherPla...Jérémy Zurcher1-12/+23
2014-10-13GameState: plugin StateType.ATTACK -> StateAttack() + quick fire, wait for th...Jérémy Zurcher1-0/+6
2014-10-13Ctrl: currentPlayer.turnStart()Jérémy Zurcher1-0/+2
2014-10-13clean debug System.errJérémy Zurcher1-4/+3
2014-10-12extract Ctrl.Config -> ConfigJérémy Zurcher1-21/+0
2014-10-12GameState* -> StateJérémy Zurcher1-16/+16
2014-10-12rename GameFactory -> FactoryJérémy Zurcher1-3/+3
2014-10-12rename GameCtrl -> CtrlJérémy Zurcher1-0/+180