Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface {
// contains filtered or unexported methods
}
Action represents an action that may be performed by an entity. Typically, these actions are sent to viewers in a world so that they can see these actions.
type Death ¶
type Death struct {
// contains filtered or unexported fields
}
Death makes an entity display the death animation. After this animation, the entity disappears from viewers watching it.
type Eat ¶
type Eat struct {
// contains filtered or unexported fields
}
Eat makes an entity display the eating particles at its mouth to viewers with the item in its hand being eaten.
type Hurt ¶
type Hurt struct {
// contains filtered or unexported fields
}
Hurt makes an entity display the animation for being hurt. The entity will be shown as red for a short duration.
Click to show internal directories.
Click to hide internal directories.