cscene

package
Version: v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2018 License: Zlib Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreditsScene

type CreditsScene struct {
	Scene *macaw.Scene

	EntityManager *entity.Manager
	// contains filtered or unexported fields
}

CreditsScene is responsible to manage the content of the menu scene

func (*CreditsScene) Exit

func (m *CreditsScene) Exit()

Exit clear the entities created for this scene

func (*CreditsScene) GetScene

func (m *CreditsScene) GetScene() *macaw.Scene

GetScene returns the scene from CreditsScene

func (*CreditsScene) Init

func (m *CreditsScene) Init(renderSystem *system.RenderSystem, font *ttf.Font)

Init initialize this scene

type GameScene

type GameScene struct {
	Scene *macaw.Scene

	EntityManager   *entity.Manager
	SceneManager    *macaw.SceneManager
	CollisionSystem *system.CollisionSystem
	// contains filtered or unexported fields
}

GameScene is responsible to manage the content of the game scene

func (*GameScene) Exit

func (g *GameScene) Exit()

Exit clear the entities created for this scene

func (*GameScene) GetScene

func (g *GameScene) GetScene() *macaw.Scene

GetScene returns the scene from GameScene

func (*GameScene) Init

func (g *GameScene) Init(renderSystem *system.RenderSystem, font *ttf.Font)

Init initialize this scene

type MenuScene struct {
	Scene *macaw.Scene

	EntityManager *entity.Manager
	// contains filtered or unexported fields
}

MenuScene is responsible to manage the content of the menu scene

func (m *MenuScene) Exit()

Exit clear the entities created for this scene

func (m *MenuScene) GetScene() *macaw.Scene

GetScene returns the scene from MenuScene

func (m *MenuScene) Init(renderSystem *system.RenderSystem, font *ttf.Font)

Init initialize this scene

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto