Skip to content

Class Engine::SystemExample

ClassList > Engine > SystemExample

A simple example system that modifies ComponentExample and fires EventsExample.

  • #include <SystemExample.hpp>

Inherits the following classes: Engine::System

Public Attributes inherited from Engine::System

See Engine::System

Type Name
std::set< Entity > m_Entities

Public Functions

Type Name
virtual void Update (Registry & registry, float dt)

Public Functions inherited from Engine::System

See Engine::System

Type Name
virtual void OnSceneUnloaded (Registry & registry)
Called right before the current scene's entities are destroyed.
virtual void Render (Registry & registry)
World pass: drawn inside the active camera.
virtual void RenderScreen (Registry & registry)
Screen pass: drawn after the world, in window pixels.
virtual void Update (Registry & registry, float dt)
virtual ~System () = default

Public Functions Documentation

function Update

virtual void Engine::SystemExample::Update (
    Registry & registry,
    float dt
) 

Implements Engine::System::Update



The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Systems/SystemExample.hpp