squidpony.squidai.AimLimit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squidlib-util Show documentation
Show all versions of squidlib-util Show documentation
SquidLib platform-independent logic and utility code. Please refer to
https://github.com/SquidPony/SquidLib .
package squidpony.squidai;
/**
* Enum used for common targeting limitations (or lack thereof, in the case of AimLimit.FREE ). AimLimit.ORTHOGONAL will
* limit single targets or the centers/aimed-at-cells of AOE effects to cells directly, north, south, east or west of
* the user. AimLimit.DIAGONAL does the same but for northeast, southeast, southwest, or northwest. AimLimit.EIGHT_WAY
* limits the same things, but is less restrictive, allowing all cells AimLimit.ORTHOGONAL does as well as all cells
* AimLimit.DIAGONAL allows. AimLimit.FREE allows all cells within any range limit an ability may have.
* Created by Tommy Ettinger on 12/17/2015.
*/
public enum AimLimit {
FREE,
ORTHOGONAL,
DIAGONAL,
EIGHT_WAY
}