class GUI::Engine
- GUI::Engine
- Prism::Engine
- RenderLoop::Engine
- Reference
- Object
Included Modules
- EventHandler
Defined in:
engine.crInstance Method Summary
- #draw_window
-
#flush
Flush the GL buffers and resize the viewport to match the window size
-
#init
Games should implement this to start their game logic TODO: this init should be defined in the game engine abstract class
-
#tick(tick : RenderLoop::Tick, input : RenderLoop::Input)
Process inputs This will pass time and input to the engine systems.
Instance Method Detail
def flush
#
Description copied from class Prism::Engine
Flush the GL buffers and resize the viewport to match the window size
def init
#
Description copied from class Prism::Engine
Games should implement this to start their game logic
TODO this init should be defined in the game engine abstract class
def tick(tick : RenderLoop::Tick, input : RenderLoop::Input)
#
Description copied from class Prism::Engine
Process inputs This will pass time and input to the engine systems.