scenes

command
v0.0.0-...-37710a6 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2016 License: BSD-2-Clause Imports: 5 Imported by: 0

README

Scenes Demo

What does it do?

It demonstrates how one can use multiple Scenes, and switch between them.

What are important aspects of the code?

These things are key in this demo:

  • Defining two Scenes: IconScene and RockScene
  • Giving one to engi.Open as the default Scene
  • Registering the other with engi.RegisterScene, so we can later:
  • Call engi.SetSceneByName to switch the Scenes.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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