Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Type component.Type = component.RegisterComponentType("transform2d", cFactory, Data{})
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { *component.Base Translation math3d.Vector2 Rotation math3d.Vector2 // cos, sin Scale math3d.Vector2 }
func (*Component) Destroy ¶
func (this *Component) Destroy(parent component.Collection)
func (*Component) Initialize ¶
func (this *Component) Initialize(parent component.Collection)
Click to show internal directories.
Click to hide internal directories.