diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/SearchBoard.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/SearchBoard.java b/core/src/ch/asynk/rustanddust/engine/SearchBoard.java index f869e32..6a1e6bb 100644 --- a/core/src/ch/asynk/rustanddust/engine/SearchBoard.java +++ b/core/src/ch/asynk/rustanddust/engine/SearchBoard.java @@ -260,6 +260,12 @@ public class SearchBoard a[5] = null; } + public List<Node> buildLineOfSight(int x0, int y0, int x1, int y1, boolean clearVisibility) + { + lineOfSight(x0, y0, x1, y1, clearVisibility); + return los; + } + public int possibleTargetsFrom(Pawn shooter, Collection<Pawn> targets) { targets.clear(); |