Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Example::System Namespace Reference

Classes

class  DirectorMonitor
 Logs the director's monitoring activity each tick. More...
class  WorkHoursUpdate
 Increments work hours for each entity. Removes the WorkTime component when the maximum is reached. More...

Functions

void Hello (Engine::Core &core)
 Logs a greeting message for each entity carrying a Name component.
void Close (Engine::Core &core)
 Stops the core loop when no entity carries a WorkTime component anymore.
void Working (Engine::Core &core)
 Logs a working message for each entity still carrying a WorkTime component.
void Goodbye (Engine::Core &core)
 Logs a shutdown message once all entities have left.

Function Documentation

◆ Close()

void Example::System::Close ( Engine::Core & core)

Stops the core loop when no entity carries a WorkTime component anymore.

◆ Goodbye()

void Example::System::Goodbye ( Engine::Core & core)

Logs a shutdown message once all entities have left.

◆ Hello()

void Example::System::Hello ( Engine::Core & core)

Logs a greeting message for each entity carrying a Name component.

◆ Working()

void Example::System::Working ( Engine::Core & core)

Logs a working message for each entity still carrying a WorkTime component.