Uses of Enum Class
com.geodesk.core.Heading

Packages that use Heading
Package
Description
 
  • Uses of Heading in com.geodesk.core

    Methods in com.geodesk.core that return Heading
    Modifier and Type
    Method
    Description
    static Heading
    Heading.fromDegrees(double degrees)
    Returns the Heading closest to the given compass heading in degrees (0 = north, 90 = east, etc.)
    Heading.reversed()
    Returns the opposite heading.
    Heading.turnedBy(double degrees)
     
    static Heading
    Heading.valueOf(String name)
    Returns the enum constant of this class with the specified name.
    static Heading[]
    Heading.values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Methods in com.geodesk.core with parameters of type Heading
    Modifier and Type
    Method
    Description
    static int
    Tile.neighbor(int fromTile, Heading direction)
    Returns the tile number of an adjacent tile that lies in the specified direction.