Nebula
Loading...
Searching...
No Matches
manager.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
16#include "ids/id.h"
17
18//------------------------------------------------------------------------------
19namespace Game
20{
21
22class World;
23
24//------------------------------------------------------------------------------
28
29//------------------------------------------------------------------------------
33{
35 void(*OnActivate)() = nullptr;
37 void(*OnDeactivate)() = nullptr;
39 void(*OnBeginFrame)() = nullptr;
41 void(*OnBeforeViews)() = nullptr;
43 void(*OnFrame)() = nullptr;
45 void(*OnEndFrame)() = nullptr;
47 void(*OnDecay)() = nullptr;
49 void(*OnLoad)(World*) = nullptr;
51 void(*OnSave)(World*) = nullptr;
53 void(*OnCleanup)(World*) = nullptr;
55 void(*OnStart)(World*) = nullptr;
57 void(*OnRenderDebug)() = nullptr;
58};
59
60}; // namespace Game
61//------------------------------------------------------------------------------
62
63
Definition world.h:49
#define ID_32_TYPE(x)
Definition id.h:16
Definition orientation.h:7
A Manager is just a bundle of function pointers to static or global functions that is called by the G...
Definition manager.h:33
Definition manager.h:27