class Rosegold::Heightmap

Overview

Represents a heightmap structure as defined in the protocol

Defined in:

rosegold/world/heightmap.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(type : UInt32 = 0_u32, data : Array(Int64) = [] of Int64) #

[View source]

Class Method Detail

def self.read(io) #

[View source]

Instance Method Detail

def data : Array(Int64) #

[View source]
def data=(data : Array(Int64)) #

[View source]
def to_bytes : Bytes #

[View source]
def type : UInt32 #

[View source]
def type=(type : UInt32) #

[View source]
def write(io) #

[View source]