Documentation ¶
Index ¶
Constants ¶
View Source
const (
CameraName = "camera"
)
View Source
const (
ControlName = "control"
)
View Source
const (
DrawableName = "drawable"
)
DrawableName is the name of the component.
View Source
const (
FocusName = "focus"
)
View Source
const (
InitiativeName = "initiative"
)
View Source
const (
MovementName = "movement"
)
View Source
const (
PhysicsName = "physics"
)
View Source
const (
PlayerName = "player"
)
View Source
const (
PositionName = "position"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent interface {
GetAction(obj object.GameObject, worldMap cartography.Map) func()
}
type Focus ¶
type Initiative ¶
type Initiative struct{}
func (*Initiative) Name ¶
func (i *Initiative) Name() string
type Movement ¶
type Movement struct {
Direction cartography.Direction
}
Click to show internal directories.
Click to hide internal directories.