adapters

package
v0.0.3-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System interface {
	//Initialize is called once at the start of the game and should initialize all systems
	Initialize() error
	//Update is called periodically by the game loop and should update all adapters
	Update() error
	//Input returns the Input-adapter that is used to access keyboard, controllers, etc.
	Input() input.Adapters
	//Graphics returns the Graphics-adapter that is used to draw the game to the screen
	Graphics() graphics.Adapters
	//Audio returns the Audio-adapter that is used to draw the game to the screen
	Audio() audio.Adapters
}

System contains the systems that are used by the game to access the computers hardware like inputs and graphics

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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