Documentation ¶
Index ¶
- type Controller
- type Data
- func (d Data) AcknowledgeController(plr Controller, inst instance, data []byte)
- func (d Data) Controller() Controller
- func (d Data) FaceLeft() bool
- func (d Data) ID() int32
- func (d Data) Pos() pos.Data
- func (d *Data) RemoveController()
- func (d Data) Rx0() int16
- func (d Data) Rx1() int16
- func (d *Data) SetController(controller Controller)
- func (d Data) SpawnID() int32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller of the npc
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
Data for an npc in a field
func CreateFromData ¶
CreateFromData - creates npc from nx data
func (Data) AcknowledgeController ¶
func (d Data) AcknowledgeController(plr Controller, inst instance, data []byte)
AcknowledgeController movement data
func (*Data) SetController ¶
func (d *Data) SetController(controller Controller)
SetController of npc
Click to show internal directories.
Click to hide internal directories.