internal

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, gameTitle string, framerate int32) error

Run is the main function to start the game.

Types

type Drawable

type Drawable interface {
	Draw() error
}

Drawable can be rendered with OpenGL. See the 'entity' and 'animation' packages.

type Object

type Object interface {
	Update() error
}

Object can have physical interactions. See the 'entity' and 'physics' packages.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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