StarCoords

object StarCoords

The singleton object StarCoords provides some constants and convenience methods for use alongside the StarCoords class.

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromPercentages(xPercent: Double, yPercent: Double): StarCoords

Constructs a StarCoords from two values that describe how many percent from the top left corner of the map the location is. (Cf. StarCoords.xPercent and StarCoords.yPercent.)

Constructs a StarCoords from two values that describe how many percent from the top left corner of the map the location is. (Cf. StarCoords.xPercent and StarCoords.yPercent.)

Concrete fields

The largest possible x or y coordinate value of a StarCoords.

The largest possible x or y coordinate value of a StarCoords.

The smallest possible x or y coordinate value of a StarCoords.

The smallest possible x or y coordinate value of a StarCoords.