class Rosegold::DataComponents::Trim

Overview

Component for trim (Armor's trim pattern and color)

Defined in:

rosegold/inventory/slot.cr

Constructors

Instance Method Summary

Instance methods inherited from class Rosegold::DataComponent

write(io) : Nil write

Constructor methods inherited from class Rosegold::DataComponent

create_component(component_type : UInt32, io) : DataComponent create_component

Constructor Detail

def self.new(material : TrimMaterial, pattern : TrimPattern) #

[View source]
def self.read(io) : self #

[View source]

Instance Method Detail

def material : TrimMaterial #

[View source]
def material=(material : TrimMaterial) #

[View source]
def pattern : TrimPattern #

[View source]
def pattern=(pattern : TrimPattern) #

[View source]
def write(io) : Nil #

[View source]