struct Shatter::Data::Position

Included Modules

Defined in:

shatter/data/entity.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_io(io : IO) : Position #

[View source]
def self.new(x : Int32, y : Int32, z : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(x _x = @x, y _y = @y, z _z = @z) #

[View source]
def x : Int32 #

def y : Int32 #

def z : Int32 #