demoutils

package
v0.0.0-...-8fc0beb Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: MIT Imports: 5 Imported by: 0

README

demoutils

This is not a demo, but instead contains useful methods that other demos might use, in order to keep the code of those demos simple, and to avoid copying the same code to every single demo.

It is also code that most-likely won't be used in production.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Background

func NewBackground

func NewBackground(world *ecs.World, width, height int, colorA, colorB color.Color) *Background

NewBackground creates a background of colored tiles - might not be the most efficient way to do this It gets added to the world as well, so we won't return anything.

Jump to

Keyboard shortcuts

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