summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Hud.java
AgeCommit message (Expand)AuthorFilesLines
2014-10-17Ctrl: use Player player,opponent and swap them on turn endJérémy Zurcher1-5/+5
2014-10-17Playre: fix setTopLeft()Jérémy Zurcher1-2/+2
2014-10-17Hud: add notify(String) use it from Ctrl and StateSelectJérémy Zurcher1-0/+4
2014-10-17Hud: use player instead of player.flagJérémy Zurcher1-20/+6
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-16Hud: fix buttons backgroundJérémy Zurcher1-6/+7
2014-10-15Hud: add MsgJérémy Zurcher1-4/+8
2014-10-15Bg: rect is protectedJérémy Zurcher1-6/+10
2014-10-14Click on Flag to end current player's turnJérémy Zurcher1-1/+4
2014-10-14Hud: on hide, set buttonsRect.set(0, 0, 0, 0);Jérémy Zurcher1-0/+1
2014-10-14add promote actionJérémy Zurcher1-1/+12
2014-10-14Ctrl: use Player[2], randomize first player, add currentPlayer() and otherPla...Jérémy Zurcher1-1/+1
2014-10-13GameState: plugin StateType.ATTACK -> StateAttack() + quick fire, wait for th...Jérémy Zurcher1-2/+1
2014-10-12GameState* -> StateJérémy Zurcher1-3/+3
2014-10-12rename GameCtrl -> CtrlJérémy Zurcher1-2/+2
2014-10-12add a few debug System.errJérémy Zurcher1-1/+1
2014-10-12GameState: fixes cleanup rewriteJérémy Zurcher1-1/+1
2014-10-12GameFactoy,GameCtrl,Hud: plugin in PlayerJérémy Zurcher1-14/+8
2014-10-10rework GameStateJérémy Zurcher1-1/+1
2014-10-10Hud: extract hud/Button, Button instances go publicJérémy Zurcher1-103/+6
2014-10-10Hud: buttons rely on visible for hit, implement checkBtnJérémy Zurcher1-13/+12
2014-10-10Hud: add setRotateOff()Jérémy Zurcher1-2/+7
2014-10-08Hud: buttons ard on/off/down, control buttons with show(boolean ...)Jérémy Zurcher1-69/+101
2014-10-08Hud.Button: clean upJérémy Zurcher1-14/+22
2014-10-07Hud: add checkBtn and enableCheck()Jérémy Zurcher1-1/+13
2014-10-07Hud: no not accept cancelBtn hit when disabledJérémy Zurcher1-2/+2
2014-10-07Hud: rename xxxAct -> xxxBtnJérémy Zurcher1-41/+41
2014-10-07Hud: add ON OFF DISABLED constantsJérémy Zurcher1-13/+22
2014-10-07Hud: do not call ctrl.abort() twiceJérémy Zurcher1-1/+0
2014-10-07HUD: move rightJérémy Zurcher1-14/+15
2014-10-06Hud: only accept buttons if not in ActionJérémy Zurcher1-7/+10
2014-10-06Hud: buttons have 3 states nowJérémy Zurcher1-49/+85
2014-10-06GameCtrl: replace inAnimation() with mayProcessTouch()Jérémy Zurcher1-2/+2
2014-10-06GameCtrl: add inAnimation() and animationDone()Jérémy Zurcher1-3/+3
2014-10-06Hud: fix calls to ctrl.setState(...)Jérémy Zurcher1-4/+3
2014-10-06Hud: add reset()Jérémy Zurcher1-4/+9
2014-10-06Hud: change constructor param order to match MapJérémy Zurcher1-1/+1
2014-10-06Hud: add a reference to GameCtrl instanceJérémy Zurcher1-1/+11
2014-10-06Hud: add setOn setOff to ActionBtnJérémy Zurcher1-10/+14
2014-10-05Hud: setup basic cmd panelJérémy Zurcher1-13/+141
2014-09-30add game/HudJérémy Zurcher1-0/+33