class GUI::Engine

Included Modules

Defined in:

engine.cr

Instance Method Summary

Instance Method Detail

def draw_window #

[View source]
def flush #
Description copied from class Prism::Engine

Flush the GL buffers and resize the viewport to match the window size


[View source]
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


[View source]
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.


[View source]