Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameContext ¶
type GameContext struct { GameObjects *gameobject.LinkedList Window *GameWindow }
TODO: Implement game context, will hold wall information and other params needed for player and enemies, collidable objects
func GetInstance ¶
func GetInstance() *GameContext
Singleton, can get game context instance everywhere
func (*GameContext) DrawGameElements ¶
func (context *GameContext) DrawGameElements()
type GameWindow ¶
Click to show internal directories.
Click to hide internal directories.