game

package
v0.0.0-...-abd3492 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGameScene

func CreateGameScene(ctx *engine.SceneContext) engine.Scene

Types

type GameScene

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

func (*GameScene) HandleEvent

func (game *GameScene) HandleEvent(event sdl.Event)

func (*GameScene) RenderScene

func (game *GameScene) RenderScene(ctx *engine.SceneContext, surface *sdl.Surface)

func (*GameScene) UpdateScene

func (game *GameScene) UpdateScene(ctx *engine.SceneContext, timeDelta uint32) engine.SceneCreator

Jump to

Keyboard shortcuts

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