summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
AgeCommit message (Expand)AuthorFilesLines
2015-02-20Command: implement write(Json)Jérémy Zurcher1-1/+84
2015-02-20Command: register unit, AP and turn info at Command creationJérémy Zurcher1-3/+19
2015-02-20Engagement: remove attackerArmy and defenderArmyJérémy Zurcher3-6/+2
2015-02-20Board: abstract animationsDone() called when animation list is emtpyJérémy Zurcher2-30/+14
2015-02-20Board,Map,Ctrl: move annimation count to BoardJérémy Zurcher8-19/+11
2015-02-20Map: destroy animationClosureJérémy Zurcher2-14/+0
2015-02-19StatePromote: must go through DONE state to burn down 1 APJérémy Zurcher1-2/+2
2015-02-19Ctrl: notify on AP burntJérémy Zurcher1-0/+1
2015-02-19StateBreak: add TODOJérémy Zurcher1-0/+1
2015-02-19getUnit() calls stack.stack.peekFirst()Jérémy Zurcher1-3/+1
2015-02-19Engagement: add private diceRoll() called in EngagementPool.get()Jérémy Zurcher2-24/+19
2015-02-19PromoteAnimation: is now a bouncing sinJérémy Zurcher1-2/+1
2015-02-19UnitDock: do net select on hit, add Unit select(float, float)Jérémy Zurcher2-8/+11
2015-02-19Ctrl: leave Animation state when engagement panel is closed and animations ar...Jérémy Zurcher2-3/+12
2015-02-19StateDeployment: fix entryZone null, do nothing if rotation -> Orientation.KEEPJérémy Zurcher1-3/+2
2015-02-19Map: engagement is ok for solo and AI but not for networkJérémy Zurcher1-3/+2
2015-02-19Map: update commentsJérémy Zurcher1-2/+1
2015-02-19Map: revertMoves() calls commands.dispose(Pawn, OrderType)Jérémy Zurcher1-1/+2
2015-02-19Order,Command: add public abstract boolean isA(OrderType) to Order, and imple...Jérémy Zurcher1-2/+8
2015-02-18Unit: revertLastMove: updateOverlays() and this.move = nullJérémy Zurcher1-0/+2
2015-02-18Map: revertEnter cleans up commandsJérémy Zurcher1-2/+3
2015-02-18Map: setOnBoard first dispose of previous orderJérémy Zurcher1-0/+1
2015-02-18Map: orderList -> commands, Command.clearPool in dispose()Jérémy Zurcher1-7/+7
2015-02-18Command: orderPool -> commandPoolJérémy Zurcher1-3/+8
2015-02-18Map: remove local unused Engagement instanceJérémy Zurcher1-7/+0
2015-02-18OrderList: add dispose(), dispose(Pawn)Jérémy Zurcher1-1/+2
2015-02-18Command: implements Comparable<Pawn>Jérémy Zurcher1-0/+9
2015-02-18Move: isEnter(), isSet(), isRegular(), isFinal()Jérémy Zurcher1-2/+2
2015-02-18StateDeployment: must remove unit from dock before showing it on boardJérémy Zurcher1-0/+1
2015-02-18Map: wrap engagement into CommandJérémy Zurcher1-27/+36
2015-02-18Unit: remove attack debug outputJérémy Zurcher1-1/+0
2015-02-18Engagement: add addAssist(Unit)Jérémy Zurcher1-0/+5
2015-02-18Command: support engagementJérémy Zurcher1-0/+12
2015-02-18Command: fix toStringJérémy Zurcher1-1/+1
2015-02-18Map: set final to all parameters comming from StatesJérémy Zurcher1-7/+7
2015-02-18Map,Command: promoteUnit uses Command processingJérémy Zurcher3-16/+33
2015-02-18Map: store Command inte an OrderList till the end of turnJérémy Zurcher1-0/+13
2015-02-18Map: wrap move into Command before processing themJérémy Zurcher1-6/+32
2015-02-18add game.Command extends engine.OrderJérémy Zurcher1-0/+88
2015-02-18StateDeployment: show Unit on board, emit the real move after rotation selectionJérémy Zurcher1-3/+6
2015-02-18Map: add void showOnBoard(Unit, Hex, Orientation) to preview unit position on...Jérémy Zurcher1-5/+10
2015-02-18Map,Ctrl: add Map.init(), Ctrl call it after battle.setup()Jérémy Zurcher3-1/+10
2015-02-18Map: reorder STATE ENTRY methodsJérémy Zurcher1-22/+28
2015-02-18Map: turnDone() throws RuntimeException if Map structures not cleared by acti...Jérémy Zurcher1-1/+4
2015-02-18Map: correctly free used EngagementJérémy Zurcher1-2/+7
2015-02-18Map: clear Engagement Pool at disposeJérémy Zurcher2-0/+5
2015-02-18Board: clear Move and Path Pool at disposeJérémy Zurcher4-47/+109
2015-02-18Board,Map: add attack(Pawn, Pawn, boolean) to recompute and validate attackJérémy Zurcher1-0/+1
2015-02-18Pawn: add int attackDistance(), and use it in MapJérémy Zurcher1-3/+2
2015-02-18Map: engagement code refactoringJérémy Zurcher1-13/+11