StarCoords

o1.stars.StarCoords$
See theStarCoords companion class
object StarCoords

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

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
StarCoords.type

Members list

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.)

Attributes

Concrete fields

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

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

Attributes

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

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

Attributes