Back to godoc.org

Package loader

v0.0.0-...-e86206e
Latest Go to latest

The highest tagged major version is .

Published: May 21, 2020 | License: MIT | Module: github.com/x-hgg-x/space-invaders-go

Index

func DisableSound

func DisableSound(world w.World)

DisableSound disables sound

func EnableSound

func EnableSound(world w.World)

EnableSound enables sound

func LoadBunkers

func LoadBunkers(world w.World) []ecs.Entity

LoadBunkers creates pixel bunker entities for each bunker

func LoadSounds

func LoadSounds(world w.World, sound bool)

LoadSounds loads music and sfx

func PreloadEntities

func PreloadEntities(entityMetadataPath string, world w.World) loader.EntityComponentList

PreloadEntities preloads entities with components

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier