Documentation ¶
Index ¶
- Variables
- func OnEnemyKilledAddScore(w donburi.World, event EnemyKilled)
- func OnEnemyKilledDestroyEnemy(w donburi.World, event EnemyKilled)
- func SetupEvents(w donburi.World)
- type Bounds
- type Collision
- type Controls
- type Debug
- type Despawn
- type EnemyKilled
- type Events
- type HUD
- type Health
- type Render
- type Velocity
Constants ¶
This section is empty.
Variables ¶
View Source
var EnemyKilledEvent = events.NewEventType[EnemyKilled]()
Functions ¶
func OnEnemyKilledAddScore ¶
func OnEnemyKilledAddScore(w donburi.World, event EnemyKilled)
func OnEnemyKilledDestroyEnemy ¶
func OnEnemyKilledDestroyEnemy(w donburi.World, event EnemyKilled)
func SetupEvents ¶
Types ¶
type Collision ¶
type Collision struct {
// contains filtered or unexported fields
}
func NewCollision ¶
func NewCollision() *Collision
type Controls ¶
type Controls struct {
// contains filtered or unexported fields
}
func NewControls ¶
func NewControls() *Controls
type Despawn ¶
type Despawn struct {
// contains filtered or unexported fields
}
func NewDespawn ¶
func NewDespawn() *Despawn
type EnemyKilled ¶
type Render ¶
type Render struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
func NewRenderer() *Render
Click to show internal directories.
Click to hide internal directories.