Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameWindow ¶
type GameWindow interface { Draw() SetKeyCallback(fn KeyCallback) IsKeyPress(keyID int) bool Destroy() ShouldClose() bool SetTextureID(id ...int) }
GameWindow represents a window with a canvas and provides a KeyCallback
type KeyCallback ¶
KeyCallback represents a keycallback function
type TextureProvider ¶
TextureProvider represents the interface to the outer gui world to set a texture in the gl context
Click to show internal directories.
Click to hide internal directories.