summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
AgeCommit message (Expand)AuthorFilesLines
2014-10-10Board: code reorderingJérémy Zurcher1-12/+12
2014-10-10Board: add revertLastPawnMove(), call pawn .move(int) .rotate(Orientation) .r...Jérémy Zurcher1-1/+19
2014-10-10Pawn: add prevPosition, revertPosition(), getRevertLastMoveAnimation()Jérémy Zurcher1-0/+29
2014-10-10Pawn: cleanupJérémy Zurcher1-8/+8
2014-10-10Pawn: add abstract move(int), rotate(Orientation), attack(Pawn), reset(), rev...Jérémy Zurcher1-2/+11
2014-10-10HeadedPawn: setRotation() must set z coordinate of positionJérémy Zurcher1-0/+1
2014-10-09coding styleJérémy Zurcher1-0/+1
2014-10-09SearchBoard,Board: implement pathCost(Pawn, List<Node>)Jérémy Zurcher2-0/+30
2014-10-09Paw,Unit: set fire() rotate() move(in), reset()Jérémy Zurcher1-0/+1
2014-10-09Board: cleanup API, force tests updateJérémy Zurcher1-38/+32
2014-10-09SearchBoard: clean upJérémy Zurcher1-5/+9
2014-10-08Board: close APIJérémy Zurcher1-19/+22
2014-10-08Pawn,Unit: add canMove() and canAttack()Jérémy Zurcher1-0/+2
2014-10-08Board: add buildMoveAssists(), possibleMovesFrom()->buildPossibleMovesFrom(),...Jérémy Zurcher1-2/+17
2014-10-08Board: add neighbours[] and void buildNeighboursFor(GridPoint2 coords)Jérémy Zurcher1-10/+14
2014-10-08SearchBoard: possibleMovesFrom fix road marchJérémy Zurcher1-4/+5
2014-10-07Pawn,Unit: add isHq()Jérémy Zurcher1-0/+1
2014-10-07Board: API consistency, rename parametersJérémy Zurcher1-15/+15
2014-10-07Board: add Tile getTileSafe(GridPoint2)Jérémy Zurcher1-0/+5
2014-10-07Orientation: typoJérémy Zurcher1-1/+1
2014-10-07Board: add GridPoint2 setNeighbour(GridPoint2, Orientation, GridPoint2);Jérémy Zurcher1-0/+13
2014-10-07Board: add getTileSafe() and getAdjacentTiles()Jérémy Zurcher1-0/+19
2014-10-07Board: possiblePaths(p, from, to, points) remove 'from' and 'to' from point S...Jérémy Zurcher1-1/+2
2014-10-07SearchBoard: oops fix 1 hex moveJérémy Zurcher1-1/+1
2014-10-07Board: add commented debug in getCoordinatePath()Jérémy Zurcher1-0/+7
2014-10-07Orientation: add Orientation fromAdj(int,int,int,int)Jérémy Zurcher1-0/+27
2014-10-07Orientation: remove useless 'Orientation.'Jérémy Zurcher1-7/+7
2014-10-06Board: add rotatePawn(Pawn, Orientation, RunnableAnnimation)Jérémy Zurcher1-0/+11
2014-10-06Pawn: add getRotationAnimation(Vector3)Jérémy Zurcher1-0/+8
2014-10-06Pawn,Board: add a RunnableAnimation to notify the end of the animationJérémy Zurcher2-2/+3
2014-10-06Board: fix nodesToPoints(...)Jérémy Zurcher1-14/+4
2014-10-06Board: clean up getCoordinatePath(...)Jérémy Zurcher1-29/+24
2014-10-06Orientation.fromMove: return KEEP if dx== 0 && dy==0Jérémy Zurcher1-0/+1
2014-10-06SearchBoard.Node: add tString()Jérémy Zurcher1-0/+6
2014-10-06use ArrayList instead of VectorJérémy Zurcher4-42/+41
2014-10-05Board,Map: dispose clears all paths, and setsJérémy Zurcher1-6/+11
2014-10-05Board.nodesToSet is good enoughJérémy Zurcher1-4/+1
2014-10-04Board: use pawn.setPosition(..) instead of pawn.pushMove(..)Jérémy Zurcher1-1/+1
2014-10-04Board: improve disposes()Jérémy Zurcher1-6/+16
2014-10-04Board: remove dead codeJérémy Zurcher1-51/+0
2014-10-04StackedImages: implements DisposableJérémy Zurcher1-1/+8
2014-10-04HeadedPawn: override getOrientation() setPosition(f,f[,f]), setRotation(f)Jérémy Zurcher1-1/+19
2014-10-04Pawn: implements Disposable, cleanupJérémy Zurcher1-82/+53
2014-10-04Tile: implements DisposableJérémy Zurcher1-1/+10
2014-10-04Tile: cleanup, add boolean hasTargetsFor(Pawn pawn)Jérémy Zurcher2-10/+26
2014-10-04Orientation: fix fromMove(...)Jérémy Zurcher1-2/+2
2014-10-04fix according to new assetsJérémy Zurcher2-6/+6
2014-10-04SearchBoard: on filtering if one path matches and has the exact size, chose itJérémy Zurcher1-2/+8
2014-10-04SearchBoard: if distance between from and to is 1, chose this single moveJérémy Zurcher1-2/+9
2014-10-04SearchBoard: fix possibleMovesJérémy Zurcher1-2/+6