summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine/SearchBoard.java
AgeCommit message (Expand)AuthorFilesLines
2014-11-14Naming attack -> engagement - move -> movementJérémy Zurcher1-8/+8
2014-11-05Tile,Hex: int costFrom(Pawn, Orientation, boolean) -> int costFrom(Pawn, Orie...Jérémy Zurcher1-4/+3
2014-11-01remove unnecessary commentsJérémy Zurcher1-1/+0
2014-10-31use new PossiblePaths classJérémy Zurcher1-131/+0
2014-10-31Board,SearcBoard: setAdjacentTiles(...) is public, directly access Tile.col a...Jérémy Zurcher1-1/+1
2014-10-30SearchBoard,Board: sides and distance goes from SearchBoard to BoardJérémy Zurcher1-36/+8
2014-10-30Board,SearchBoard: optimize collectPossibleTargets(Pawn, Iterator<Pawn>, Pawn...Jérémy Zurcher1-4/+7
2014-10-30Board,SearchBoard: optimize collectPossibleTargets(Pawn, Board.PawnCollection)Jérémy Zurcher1-5/+13
2014-10-30Board,SearchBoard: optimize collectPossibleMoves(Pawn, Board.TileCollection)Jérémy Zurcher1-10/+8
2014-10-30SearchBoard: must be carefull with boolean inMap(int col, int row)Jérémy Zurcher1-0/+1
2014-10-30SearchBoard: add and use Tile getTile(Node node) and Node getNode(Tile tile)Jérémy Zurcher1-11/+19
2014-10-29SearchBoard: collectAttack(...) do not yell when the angle attack is not OK, ...Jérémy Zurcher1-3/+1
2014-10-29rename buildXxxYyy(...) -> collectXxxYyy(...)Jérémy Zurcher1-1/+1
2014-10-28SearchBoard: moves is a SetJérémy Zurcher1-7/+9
2014-10-14SearchBoard,Board: implement assisst attack without line of sightJérémy Zurcher1-13/+13
2014-10-14unify error msgsJérémy Zurcher1-1/+1
2014-10-13SearchBoard: fix validatePathAngle(...) count move forth to allow back oneJérémy Zurcher1-2/+7
2014-10-13Pawn: add isFlankAttack()Jérémy Zurcher1-1/+1
2014-10-13SearchBoard: clean up buildAttack(...)' -> canAttack(...) uses Pawn.Attack in...Jérémy Zurcher1-11/+33
2014-10-13SearchBoard: add validatePathAngle(...) check angle of attack of successful LOSJérémy Zurcher1-5/+23
2014-10-13SearchBoard: add canAttack(Pawn, int, int, int, int)Jérémy Zurcher1-0/+10
2014-10-09SearchBoard,Board: implement pathCost(Pawn, List<Node>)Jérémy Zurcher1-0/+25
2014-10-09SearchBoard: clean upJérémy Zurcher1-5/+9
2014-10-08SearchBoard: possibleMovesFrom fix road marchJérémy Zurcher1-4/+5
2014-10-07SearchBoard: oops fix 1 hex moveJérémy Zurcher1-1/+1
2014-10-06SearchBoard.Node: add tString()Jérémy Zurcher1-0/+6
2014-10-06use ArrayList instead of VectorJérémy Zurcher1-19/+18
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
2014-10-03Board.Orientation -> OrientationJérémy Zurcher1-14/+14
2014-10-03Board,SearchBoard: add getFinalPath(getFinalPath(Vector<GridPoint3> path)Jérémy Zurcher1-0/+4
2014-10-02SearchBoard: fix possiblePaths road marchJérémy Zurcher1-5/+4
2014-10-01Board/SearchBoard: possiblePathsFilterAdd -> possiblePathsFilterToggleJérémy Zurcher1-4/+9
2014-10-01Board/SearchBoard: add possiblePathsFilterAdd(int, int, Set<GridPoint2>)Jérémy Zurcher1-1/+29
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-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 Zurcher1-0/+19
2014-09-30Board/SearchBoard: clean upJérémy Zurcher1-52/+60
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-30SearchBoard: cleanupJérémy Zurcher1-14/+11
2014-09-29SearchBoard: add List<Node> lineOfSight()Jérémy Zurcher1-1/+105
2014-09-29SearchBoard: coding styleJérémy Zurcher1-2/+2
2014-09-27go from orthogonal coordinates to skew coordinatesJérémy Zurcher1-51/+35
2014-09-26SearchBoard: fix openToAttackFrom() use a queue add fix attackAngleJérémy Zurcher1-30/+52