Documentation ¶
Index ¶
- type CreditsTarget
- func (c *CreditsTarget) Despawn()
- func (c *CreditsTarget) SetState(originator, predecessor *engine.Entity, state bool)
- func (c *CreditsTarget) Spawn(w *engine.World, sp *level.SpawnableProps, e *engine.Entity) error
- func (c *CreditsTarget) Touch(other *engine.Entity)
- func (c *CreditsTarget) Update()
- type FadeTarget
- type Goal
- type StopTimerTarget
- func (s *StopTimerTarget) Despawn()
- func (s *StopTimerTarget) SetState(originator, predecessor *engine.Entity, state bool)
- func (s *StopTimerTarget) Spawn(w *engine.World, sp *level.SpawnableProps, e *engine.Entity) error
- func (s *StopTimerTarget) Touch(other *engine.Entity)
- func (s *StopTimerTarget) Update()
- type ZoomTarget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreditsTarget ¶
CreditsTarget shows the credits.
func (*CreditsTarget) Despawn ¶
func (c *CreditsTarget) Despawn()
func (*CreditsTarget) SetState ¶
func (c *CreditsTarget) SetState(originator, predecessor *engine.Entity, state bool)
func (*CreditsTarget) Spawn ¶
func (c *CreditsTarget) Spawn(w *engine.World, sp *level.SpawnableProps, e *engine.Entity) error
func (*CreditsTarget) Touch ¶
func (c *CreditsTarget) Touch(other *engine.Entity)
func (*CreditsTarget) Update ¶
func (c *CreditsTarget) Update()
type FadeTarget ¶
FadeTarget fades the screen out.
func (*FadeTarget) Despawn ¶
func (f *FadeTarget) Despawn()
func (*FadeTarget) SetState ¶
func (f *FadeTarget) SetState(originator, predecessor *engine.Entity, state bool)
func (*FadeTarget) Spawn ¶
func (f *FadeTarget) Spawn(w *engine.World, sp *level.SpawnableProps, e *engine.Entity) error
func (*FadeTarget) Touch ¶
func (f *FadeTarget) Touch(other *engine.Entity)
func (*FadeTarget) Update ¶
func (f *FadeTarget) Update()
type StopTimerTarget ¶
StopTimerTarget makes the player move towards it when activated.
func (*StopTimerTarget) Despawn ¶
func (s *StopTimerTarget) Despawn()
func (*StopTimerTarget) SetState ¶
func (s *StopTimerTarget) SetState(originator, predecessor *engine.Entity, state bool)
func (*StopTimerTarget) Spawn ¶
func (s *StopTimerTarget) Spawn(w *engine.World, sp *level.SpawnableProps, e *engine.Entity) error
func (*StopTimerTarget) Touch ¶
func (s *StopTimerTarget) Touch(other *engine.Entity)
func (*StopTimerTarget) Update ¶
func (s *StopTimerTarget) Update()
type ZoomTarget ¶
ZoomTarget zooms the screen out.
func (*ZoomTarget) Despawn ¶
func (z *ZoomTarget) Despawn()
func (*ZoomTarget) SetState ¶
func (z *ZoomTarget) SetState(originator, predecessor *engine.Entity, state bool)
func (*ZoomTarget) Spawn ¶
func (z *ZoomTarget) Spawn(w *engine.World, sp *level.SpawnableProps, e *engine.Entity) error
func (*ZoomTarget) Touch ¶
func (z *ZoomTarget) Touch(other *engine.Entity)
func (*ZoomTarget) Update ¶
func (z *ZoomTarget) Update()
Click to show internal directories.
Click to hide internal directories.