scene

package
v0.0.0-...-281f1f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scene

type Scene struct {
	// contains filtered or unexported fields
}

func NewScene

func NewScene(spawner interfaces.Spawner) *Scene

func (*Scene) Draw

func (s *Scene) Draw(target pixel.Target)

func (*Scene) GetLevelMap

func (s *Scene) GetLevelMap() consts.LevelMap

func (*Scene) GetObjectByID

func (s *Scene) GetObjectByID(id int64) interfaces.SceneObject

func (*Scene) GetObjects

func (s *Scene) GetObjects() []interfaces.SceneObject

func (*Scene) GetSceneMap

func (s *Scene) GetSceneMap() interfaces.SceneMap

func (*Scene) GetSpawner

func (s *Scene) GetSpawner() interfaces.Spawner

func (*Scene) MakeEmptyObj

func (s *Scene) MakeEmptyObj(objType consts.ObjectType) interfaces.SceneObject

func (*Scene) RemoveObject

func (s *Scene) RemoveObject(id int64)

func (*Scene) SetLevelMap

func (s *Scene) SetLevelMap(level consts.LevelMap)

func (*Scene) SetSceneObjects

func (s *Scene) SetSceneObjects(objects []interfaces.SceneObject)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL