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
Click to show internal directories.
Click to hide internal directories.