Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Components ¶
func Components(it world.CustomItem) map[string]any
Types ¶
type ComponentBuilder ¶
type ComponentBuilder struct {
// contains filtered or unexported fields
}
func NewComponentBuilder ¶
func NewComponentBuilder(name, identifier string, category category.Category) *ComponentBuilder
func (*ComponentBuilder) AddComponent ¶
func (builder *ComponentBuilder) AddComponent(name string, value any)
func (*ComponentBuilder) AddProperty ¶
func (builder *ComponentBuilder) AddProperty(name string, value any)
func (*ComponentBuilder) Construct ¶
func (builder *ComponentBuilder) Construct() map[string]any
Click to show internal directories.
Click to hide internal directories.