All Downloads are FREE. Search and download functionalities are using the official Maven repository.

squidpony.squidai.AimLimit Maven / Gradle / Ivy

Go to download

SquidLib platform-independent logic and utility code. Please refer to https://github.com/SquidPony/SquidLib .

There is a newer version: 3.0.6
Show newest version
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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy