gophers

package
v0.0.0-...-6db01c7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package gophers renders gophers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func System

func System(g *gorge.Context, res *resource.Context, ic *input.Context) error

System starts the gophers

Types

type Thing

type Thing struct {
	*gorge.TransformComponent
	*gorge.RenderableComponent
	Color m32.Vec4
	// contains filtered or unexported fields
}

Thing entity is a mover unit in screen controlled by the customSystem

func (*Thing) GetColor

func (t *Thing) GetColor() m32.Vec4

GetColor returns Main Color

func (*Thing) Reset

func (t *Thing) Reset(sz m32.Vec2)

Reset the thing

Jump to

Keyboard shortcuts

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