Package | Description |
---|---|
squidpony.squidai |
Tools for finding paths, optimizing targets for area-of-effect (AOE) abilities, and evaluating influence on a grid.
|
Modifier and Type | Class and Description |
---|---|
class |
BeamAOE
Beam Area of Effect that affects an slightly expanded (Elias) line from a given origin Coord out to a given length,
plus an optional radius of cells around the path of the line, while respecting obstacles in its path and possibly
stopping if obstructed.
|
class |
BlastAOE
An AOE type that has a center and a radius, and will blast outward and somewhat around corners/obstacles, out to
the distance specified by radius.
|
class |
BurstAOE
An AOE type that has a center and a radius, and uses shadowcasting to create a burst of rays from the center, out to
the distance specified by radius.
|
class |
CloudAOE
An AOE type that has a center and a volume, and will randomly expand in all directions until it reaches volume or
cannot expand further.
|
class |
ConeAOE
An AOE type that has an origin, a radius, an angle, and a span; it will blast from the origin to a length equal to
radius along the angle (in degrees), moving somewhat around corners/obstacles, and also spread a total of span
degrees around the angle (a span of 90 will affect a full quadrant, centered on angle).
|
class |
LineAOE
Line Area of Effect that affects an slightly expanded (DDA) line from a given origin Coord to a given end Coord,
plus an optional radius of cells around the path of the line, while respecting obstacles in its path and possibly
stopping if obstructed.
|
class |
PointAOE
An AOE type that has a center Coord only and only affects that single Coord.
|
Modifier and Type | Field and Description |
---|---|
AOE |
Technique.aoe |
Constructor and Description |
---|
Technique(java.lang.String name,
AOE aoe)
Creates a Technique that can target a Coord at a range specified by the given AOE's minRange and maxRange,
using a distance metric from the AOE, and use that target Coord for the given AOE.
|
Technique(java.lang.String name,
java.lang.String id,
AOE aoe)
Creates a Technique that can target a Coord at a range specified by the given AOE's minRange and maxRange,
using a distance metric from the AOE, and use that target Coord for the given AOE.
|
Copyright © Eben Howard 2012–2022. All rights reserved.