summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
AgeCommit message (Expand)AuthorFilesLines
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-03Orientation: add Orientation fromMove(int col0, int row0, int col1, int row1)Jérémy Zurcher1-0/+18
2014-10-03Orientation: remove useless importJérémy Zurcher1-26/+0
2014-10-03Board.Orientation -> OrientationJérémy Zurcher6-105/+132
2014-10-03Board,SearchBoard: add getFinalPath(getFinalPath(Vector<GridPoint3> path)Jérémy Zurcher2-0/+54
2014-10-02Pawn,HeadedPaw: use StackedImage.centerOn(float, float) not setPosition(...)Jérémy Zurcher2-5/+10
2014-10-02StackedImages: is no longer a Moveable but a DrawableJérémy Zurcher1-58/+8
2014-10-02Board: clean up APIJérémy Zurcher1-11/+35
2014-10-02SearchBoard: fix possiblePaths road marchJérémy Zurcher1-5/+4
2014-10-01Board/SearchBoard: possiblePathsFilterAdd -> possiblePathsFilterToggleJérémy Zurcher2-6/+11
2014-10-01Board -> Tile -> StackedImages: isEnabled(int i) overlaysJérémy Zurcher3-0/+15
2014-10-01Board/SearchBoard: add possiblePathsFilterAdd(int, int, Set<GridPoint2>)Jérémy Zurcher2-4/+46
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-01findAllPaths: support roadMarch, do not touch nodes state, returns List<Vecto...Jérémy Zurcher1-28/+25
2014-10-01SearchBoard: add possiblePaths(...) TODO roadMarch supportJérémy Zurcher1-0/+53
2014-10-01Pawn, Image: add protected default constructorJérémy Zurcher2-0/+9
2014-10-01SearchBoard: adjacents is now local to functionJérémy Zurcher1-26/+28
2014-10-01SearchBoard: add distance(Node, Node)Jérémy Zurcher1-0/+5
2014-10-01SearchBoard: add boolean inMap()Jérémy Zurcher1-0/+12
2014-10-01Board.distance() -> SearchBoard.distance()Jérémy Zurcher2-21/+19
2014-09-30Tile: occupied() -> isEmpty() && hasUnits()Jérémy Zurcher1-7/+19
2014-09-30Pawn/Unit: add boolean isUnit()Jérémy Zurcher1-0/+1
2014-09-30Board/SearchBoard: clean upJérémy Zurcher2-109/+116
2014-09-30SearchBoard: qick implementation of hasClearLineOfSight(...)Jérémy Zurcher1-4/+29
2014-09-30SearchBoard: remove useless check param for lineOfSight()Jérémy Zurcher1-9/+4
2014-09-30SearchBoard: add diagonalLineOfSight(...)Jérémy Zurcher1-1/+33
2014-09-30Tile/Hex: add blockLineOfSightFrom(Tile)Jérémy Zurcher1-0/+1
2014-09-30SearchBoard: cleanupJérémy Zurcher1-14/+11
2014-09-29Board/Tile: add protected default constructor needed for test unitJérémy Zurcher2-0/+8
2014-09-29add lineOfSight testing codeJérémy Zurcher1-0/+24
2014-09-29SearchBoard: add List<Node> lineOfSight()Jérémy Zurcher1-1/+105
2014-09-29Tile/Hex: add boolean isOffMap()Jérémy Zurcher1-0/+1
2014-09-29SearchBoard: coding styleJérémy Zurcher1-2/+2
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 Zurcher2-74/+60
2014-09-27getPawnPosAt(...) uses Tile.getCenter()Jérémy Zurcher2-13/+8
2014-09-27Tiles have a center, GameFactory implements Board.TileBuilder to create Hex(c...Jérémy Zurcher2-13/+18
2014-09-27rework (Basic)Drawable into Drawable->MoveableJérémy Zurcher7-44/+108
2014-09-27overlays clear -> disableJérémy Zurcher3-7/+7
2014-09-26SearchBoard: fix openToAttackFrom() use a queue add fix attackAngleJérémy Zurcher1-30/+52
2014-09-26Pawn: add Board.Orientation getOrientation()Jérémy Zurcher1-0/+5
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-25SearchBoard: add openToAttackFrom() NOT COMPLETEJérémy Zurcher1-0/+90
2014-09-25add Board.Orientation.isInSides(int)Jérémy Zurcher1-0/+5
2014-09-25Tile, Hex: add hasTargetsFor(Pawn)Jérémy Zurcher1-1/+2
2014-09-25Pawn, Unit: add getAttackRangeFrom(Tile)Jérémy Zurcher1-0/+1
2014-09-25SearchBoard: clean upJérémy Zurcher1-19/+23