Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct { Renderer *renderer.Renderer Systems *ecs.SystemManager Entities *ecs.EntityManager Components *ecs.ComponentManager // Load calls once when the game starts, useful for loading resources. Load func() // Update is called every frame. // It receives the current frame time in seconds. (AKA 'delta time') Update func(dt float32) // Draw is called every frame, but after Update and after drawing is started, so it can be used for drawing game graphics. Draw func() }
Game represents the core engine structure.
Click to show internal directories.
Click to hide internal directories.