Versions in this module Expand all Collapse all v2 v2.4.0 Oct 14, 2020 Changes in this version + type Entity struct + func NewEntityWithProperty(name string, val st.PropertyValue) *Entity + func (e *Entity) ApplyUpdate(reader *bitread.BitReader) + func (e *Entity) BindPosition(pos *r3.Vector) + func (e *Entity) BindProperty(name string, variable interface{}, valueType st.PropertyValueType) + func (e *Entity) Destroy() + func (e *Entity) ID() int + func (e *Entity) OnCreateFinished(delegate func()) + func (e *Entity) OnDestroy(delegate func()) + func (e *Entity) OnPositionUpdate(handler func(pos r3.Vector)) + func (e *Entity) Position() r3.Vector + func (e *Entity) Properties() []st.Property + func (e *Entity) Property(name string) st.Property + func (e *Entity) PropertyValue(name string) (st.PropertyValue, bool) + func (e *Entity) PropertyValueMust(name string) st.PropertyValue + func (e *Entity) ServerClass() *st.ServerClass + type Property struct + func (p *Property) Bind(variable interface{}, valueType st.PropertyValueType) + func (p *Property) Name() string + func (p *Property) OnUpdate(handler st.PropertyUpdateHandler) + func (p *Property) Value() st.PropertyValue