struct

Location::Point

Inherits Struct < Value < Object

Constants

ONE_STEP = 1

Constructors

new(x : Int32 = 0, y : Int32 = 0)
step_to(point : Point, direction : Direction) : Point

Instance methods

clone
copy_with(x _x = @x, y _y = @y)
x
y