Package | Description |
---|---|
squidpony.squidai |
Tools for finding paths, optimizing targets for area-of-effect (AOE) abilities, and evaluating influence on a grid.
|
squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
Modifier and Type | Field and Description |
---|---|
Reach |
Threat.reach |
Modifier and Type | Method and Description |
---|---|
Reach |
AOE.getReach()
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
|
Reach |
BeamAOE.getReach()
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
|
Reach |
BlastAOE.getReach()
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
|
Reach |
BurstAOE.getReach()
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
|
Reach |
CloudAOE.getReach()
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
|
Reach |
ConeAOE.getReach()
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
|
Reach |
LineAOE.getReach()
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
|
Reach |
PointAOE.getReach()
Gets the same values returned by getLimitType(), getMinRange(), getMaxRange(), and getMetric() bundled into one
Reach object.
|
Modifier and Type | Method and Description |
---|---|
void |
AOE.setReach(Reach reach)
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
|
void |
BeamAOE.setReach(Reach reach)
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
|
void |
BlastAOE.setReach(Reach reach)
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
|
void |
BurstAOE.setReach(Reach reach)
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
|
void |
CloudAOE.setReach(Reach reach)
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
|
void |
ConeAOE.setReach(Reach reach)
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
|
void |
LineAOE.setReach(Reach reach)
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
|
void |
PointAOE.setReach(Reach reach)
Sets the same values as setLimitType(), setMinRange(), setMaxRange(), and setMetric() using one Reach object.
|
static boolean |
AreaUtils.verifyReach(Reach reach,
Coord origin,
Coord end)
Checks that the given end Coord can be targeted from the given origin Coord given the complete targeting rules
specified by reach.
|
Modifier and Type | Method and Description |
---|---|
static short[] |
CoordPacker.reachable(short[] bounds,
short[] start,
Reach reach)
Given a packed array encoding a larger area, a packed array encoding one or more points inside bounds, and a
Reach object that determines targeting constraints, gets all cells contained within bounds that can be targeted
from a cell in start using the rules defined by reach.
|
Copyright © Eben Howard 2012–2022. All rights reserved.