Documentation ¶
Index ¶
Constants ¶
const ControlLabelType string = "ControlLabelMessage"
ControlLabelType is the type of a GameoverMessage
const CreateBulletType string = "CreateBulletMessage"
CreateBulletType is the type for the bullet message
const DamageType string = "DamageMessage"
DamageType is the type for the damage message
const FlashType string = "FlashMessage"
FlashType is the type of a GameoverMessage
const GameOverType string = "GameoverMessage"
GameOverType is the type of a GameoverMessage
const GetPlayerPositionType string = "GetPlayerPositionMessage"
const MusicLabelType string = "MusicLabelMessage"
MusicLabelType is the type of a GameoverMessage
const MusicType string = "MusicMessage"
MusicType is the type of a GameoverMessage
const SFXLabelType string = "SFXLabelMessage"
SFXLabelType is the type of a GameoverMessage
const SFXType string = "SFXMessage"
SFXType is the type of a GameoverMessage
const ScoreType string = "ScoreMessage"
ScoreType is the type of a GameoverMessage
const SendPlayerPositionType string = "SendPlayerPositionMessage"
const SpeedType string = "SpeedMessage"
SpeedType is the type of a GameoverMessage
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlLabel ¶
type ControlLabel struct {
Up bool
}
ControlLabel is sent when a lose condition is met
func (ControlLabel) Type ¶
func (ControlLabel) Type() string
Type implements the engo.Message interface
type CreateBullet ¶
CreateBullet is a message that creates a bullet from the given location and fires it at the given angle in degrees (theta = 0 is vertical and increases counter-clockwise.)
func (CreateBullet) Type ¶
func (CreateBullet) Type() string
Type implements the engo.Message interface
type GetPlayerPosition ¶
func (GetPlayerPosition) Type ¶
func (GetPlayerPosition) Type() string
type MusicLabel ¶
type MusicLabel struct {
Up bool
}
MusicLabel is sent when a lose condition is met
type SendPlayerPosition ¶
type SendPlayerPosition struct{}
func (SendPlayerPosition) Type ¶
func (SendPlayerPosition) Type() string