struct

Shatter::Data::Position

Inherits JSON::Serializable < Struct < Value < Object

Constructors

from_io(io : IO) : Position
Source
new(x : Int32, y : Int32, z : Int32)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(x _x = @x, y _y = @y, z _z = @z)
Source
x
y
z