gameoff

package
v0.0.0-...-cda336b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Challenge

type Challenge struct {
	//unique string identifier for the challenge internally
	ID string
	//friendly name to display in UI
	FriendlyName string
}

type Game

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

func (*Game) Draw

func (g *Game) Draw(screen *ebiten.Image)

func (*Game) Init

func (g *Game) Init()

func (*Game) Layout

func (g *Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)

func (*Game) Update

func (g *Game) Update() error

type Organism

type Organism struct {
	//the organelles possesed by the Organism. Who woulda thought?
	Organelles []string
	//scale factor for a basic semi-randomized shape. Much easier than exact specification
	Size float32
}

represents a generic organism for puzzles, building, etc.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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