summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine/Board.java
AgeCommit message (Expand)AuthorFilesLines
2014-10-29Map,Unit: simplify show/hide functionsJérémy Zurcher1-5/+1
2014-10-29Pawn,Board: give current AnimationSequence size when asking Pawn for itJérémy Zurcher1-3/+3
2014-10-29Pawn: add boolean canBeAttacked(Pawn other)Jérémy Zurcher1-0/+1
2014-10-29Map: possibleTargets and attackAssists are Board.PawnCollection, activablePaw...Jérémy Zurcher1-5/+5
2014-10-28Board: fix buildMoveAssists -> collectMoveAssistsJérémy Zurcher1-5/+7
2014-10-28Board: add PawnSet, remove TileListJérémy Zurcher1-1/+11
2014-10-28Add interface Board.TileCollection extends Collection<Tile>Jérémy Zurcher1-8/+19
2014-10-28SearchBoard: moves is a SetJérémy Zurcher1-1/+2
2014-10-28Board: swallows ArrayList<Vector3> finalPathJérémy Zurcher1-2/+8
2014-10-27Board: do not use GridPoint2, use Pawn, Tile and pawn.getTile()Jérémy Zurcher1-111/+43
2014-10-26Board,Map: possiblePaths is a TileList tooJérémy Zurcher1-12/+9
2014-10-23Map,Board: use TileList and HexList for moves and attacksJérémy Zurcher1-68/+22
2014-10-22Pawn: has a ref to current and prev TileJérémy Zurcher1-27/+20
2014-10-22Board: addAnimation(Animation) -> protectedJérémy Zurcher1-1/+1
2014-10-22Pawn: add setOnTile(Tile, Orientation)Jérémy Zurcher1-2/+1
2014-10-22Board: remove getPawnPosAt(...)Jérémy Zurcher1-6/+1
2014-10-22Board: remove getTile(GridPoint2) and getTileSafe(GirdPoint2)Jérémy Zurcher1-20/+10
2014-10-22Bawn,Board: simplify getPawnPosAt(...)Jérémy Zurcher1-3/+1
2014-10-22Board: neigbours is no more GridPoint2[] but Tile[]Jérémy Zurcher1-24/+11
2014-10-22code reorderJérémy Zurcher1-15/+15
2014-10-22Tile: replace Vector2 center with int col, row; float x, y;Jérémy Zurcher1-4/+5
2014-10-15Board: add addAnimation(Animation) and int removePawn(Pawn)Jérémy Zurcher1-3/+13
2014-10-15Board: remove pawnsToDraw, directly draw AnimationsJérémy Zurcher1-28/+13
2014-10-14Board: buildAttackAssists(...) jump over attack leaderJérémy Zurcher1-1/+1
2014-10-14SearchBoard,Board: implement assisst attack without line of sightJérémy Zurcher1-2/+2
2014-10-14Board: buildAttack(...) -> buildAttackAssists(...), clean up codeJérémy Zurcher1-8/+8
2014-10-14Board: add simpler buildPossibleTargetsFrom() based on enemy unitsJérémy Zurcher1-0/+21
2014-10-13Board: buildAttackAssists(...) -> buildAttack() returns the count of possible...Jérémy Zurcher1-5/+9
2014-10-13Board: buildxxx(...) retrun count of collected elementsJérémy Zurcher1-3/+6
2014-10-13Board: int removePawnFrom(Pawn, GridPoint2) is now publicJérémy Zurcher1-1/+1
2014-10-13Board: getHexAt(Vector ... ) -> getHexUnder(Pawn ...)Jérémy Zurcher1-19/+10
2014-10-13Board: fix buildAttackAssists(), use Pawn.getCenter() instead of pawn.getPosi...Jérémy Zurcher1-1/+7
2014-10-13Board: add buildAttackAssists(Pawn, GridPoint2, Iterator<Pawn>, ArrayList<Gri...Jérémy Zurcher1-0/+20
2014-10-13Board: add GridPoint2 getHexAt(Vector3, GridPoint2)Jérémy Zurcher1-0/+6
2014-10-12StackedImage,Tile,Map: enable rotation on a specific overlayJérémy Zurcher1-0/+9
2014-10-12Board: setPawnAt returns pawnJérémy Zurcher1-1/+2
2014-10-10Board: pawns that cannot move cannot assist movesJérémy Zurcher1-1/+2
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-09SearchBoard,Board: implement pathCost(Pawn, List<Node>)Jérémy Zurcher1-0/+5
2014-10-09Board: cleanup API, force tests updateJérémy Zurcher1-38/+32
2014-10-08Board: close APIJérémy Zurcher1-19/+22
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-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-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-07Board: add commented debug in getCoordinatePath()Jérémy Zurcher1-0/+7