class Prism::Systems::TerrainSystem
- Prism::Systems::TerrainSystem
- Crash::System
- Reference
- Object
Overview
A rudimentary collision detection system for the terrain.
This should run after the InputSystem
Defined in:
prism/stdlib/systems/terrain_system.crConstructors
Instance Method Summary
-
#add_to_engine(engine : Crash::Engine)
Called just after the system is added to the engine, before any calls to the update method.
-
#input(tick : RenderLoop::Tick, input : RenderLoop::Input)
Extend
Crash::System
with an input method -
#remove_from_engine(engine : Crash::Engine)
Called just after the system is removed from the engine, after all calls to the update method.
Instance methods inherited from class Crash::System
input(tick : RenderLoop::Tick, input : RenderLoop::Input)
input,
render
render
Constructor Detail
Instance Method Detail
Called just after the system is added to the engine, before any calls to the update method. Override this method to add your own functionality.
@param engine The engine the system was added to.
Extend Crash::System
with an input method
Called just after the system is removed from the engine, after all calls to the update method. Override this method to add your own functionality.
@param engine The engine the system was removed from.