abstract class Prism::GameEngine
- Prism::GameEngine
- Prism::Engine
- RenderLoop::Engine
- Reference
- Object
Overview
A default game Engine
with some pre-configured systems.
Defined in:
prism/stdlib/game_engine.crInstance Method Summary
-
#startup
Starts up the engine.
-
#tick(tick : RenderLoop::Tick, input : RenderLoop::Input)
Process inputs This will pass time and input to the engine systems.
Instance methods inherited from class Prism::Engine
add_entity(entity : Crash::Entity)
add_entity,
add_system(system : Crash::System, priority : Int32)
add_system,
flush
flush,
get_open_gl_version
get_open_gl_version,
init
init,
render
render,
startup
startup,
tick(tick : RenderLoop::Tick, input : RenderLoop::Input)
tick
Instance Method Detail
def startup
#
Description copied from class Prism::Engine
Starts up the engine.
TODO we don't need to define this here. Let the implementations do it.
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.