summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine/Board.java
AgeCommit message (Expand)AuthorFilesLines
2014-10-06Board: add rotatePawn(Pawn, Orientation, RunnableAnnimation)Jérémy Zurcher1-0/+11
2014-10-06Pawn,Board: add a RunnableAnimation to notify the end of the animationJérémy Zurcher1-1/+2
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-06use ArrayList instead of VectorJérémy Zurcher1-16/+16
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-03Board: fix path, rotate on place then moveJérémy Zurcher1-13/+24
2014-10-03Board: use getHexAt(pawn.getCenter()) to avoid wrong hex if image is bigJérémy Zurcher1-7/+11
2014-10-03Board: use pawn.getPosAt(center, pos)Jérémy Zurcher1-8/+2
2014-10-03Board: comment out unused methodsJérémy Zurcher1-44/+44
2014-10-03remove debug outputJérémy Zurcher1-1/+0
2014-10-03Board: getFinalPath(...) returns an array of Vector3, add movePawn(...)Jérémy Zurcher1-14/+52
2014-10-03getPawnPosAt(...) has a third intout argumentJérémy Zurcher1-4/+8
2014-10-03Board: API goes GridPoint2Jérémy Zurcher1-66/+46
2014-10-03Board: use Orientation.fromMove(...)Jérémy Zurcher1-19/+2
2014-10-03Board.Orientation -> OrientationJérémy Zurcher1-82/+1
2014-10-03Board,SearchBoard: add getFinalPath(getFinalPath(Vector<GridPoint3> path)Jérémy Zurcher1-0/+50
2014-10-02Board: clean up APIJérémy Zurcher1-11/+35
2014-10-01Board/SearchBoard: possiblePathsFilterAdd -> possiblePathsFilterToggleJérémy Zurcher1-2/+2
2014-10-01Board -> Tile -> StackedImages: isEnabled(int i) overlaysJérémy Zurcher1-0/+5
2014-10-01Board/SearchBoard: add possiblePathsFilterAdd(int, int, Set<GridPoint2>)Jérémy Zurcher1-3/+17
2014-10-01Board: add possiblePaths(Pawn, int, int, int, int, Set<GridPoint2>)Jérémy Zurcher1-2/+22
2014-10-01Board: searchBoard is protectedJérémy Zurcher1-1/+1
2014-10-01Board.distance() -> SearchBoard.distance()Jérémy Zurcher1-21/+0
2014-09-30Board/SearchBoard: clean upJérémy Zurcher1-57/+56
2014-09-29Board/Tile: add protected default constructor needed for test unitJérémy Zurcher1-0/+4
2014-09-29add lineOfSight testing codeJérémy Zurcher1-0/+24
2014-09-29Board is not an Image anymore, but has an ImageJérémy Zurcher1-7/+21
2014-09-27go from orthogonal coordinates to skew coordinatesJérémy Zurcher1-23/+25
2014-09-27getPawnPosAt(...) uses Tile.getCenter()Jérémy Zurcher1-13/+3
2014-09-27Tiles have a center, GameFactory implements Board.TileBuilder to create Hex(c...Jérémy Zurcher1-6/+13
2014-09-27overlays clear -> disableJérémy Zurcher1-4/+4
2014-09-26Orientation: add int allBut(), oppositeSide() -> opposite()Jérémy Zurcher1-2/+8
2014-09-25Board: add openToAttackFrom()Jérémy Zurcher1-0/+15
2014-09-25add Board.Orientation.isInSides(int)Jérémy Zurcher1-0/+5
2014-09-25Board.Orientation: getBackSides(), oppositeSide(), left(), right()Jérémy Zurcher1-3/+54
2014-09-25add Board.distance(int, int, int, int)Jérémy Zurcher1-0/+23
2014-09-24draw(Batch batch, float parentAlpha) -> draw(batch)Jérémy Zurcher1-4/+4
2014-09-24Board: plugin SearchBoard, add reachableFrom(Pawn pawn, int col, int row)Jérémy Zurcher1-4/+32
2014-09-24Board: remove useless movePawnTo(Pawn pawn, Vector3 coords)Jérémy Zurcher1-6/+0
2014-09-24Board: fix Orientation sides valuesJérémy Zurcher1-4/+4
2014-09-23add Hex.OFFMAPJérémy Zurcher1-11/+18
2014-09-23Board.cfg gos protectedJérémy Zurcher1-1/+1
2014-09-23board allocation goes into Board, hex setup goes into MapA extends MapJérémy Zurcher1-3/+16
2014-09-23implement clear overlays in Board/Tile/StackImageJérémy Zurcher1-0/+13
2014-09-22correctly manage dragged Pawn and pawnsToDrawJérémy Zurcher1-1/+14