Uses of Interface
squidpony.squidai.AOE
Package | Description |
---|---|
squidpony.squidai |
Tools for finding paths, optimizing targets for area-of-effect (AOE) abilities, and evaluating influence on a grid.
|
-
Uses of AOE in squidpony.squidai
Classes in squidpony.squidai that implement AOE Modifier and Type Class 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.Fields in squidpony.squidai declared as AOE Modifier and Type Field Description AOE
Technique. aoe
Constructors in squidpony.squidai with parameters of type AOE Constructor Description Technique(String name, 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.Technique(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.