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
//------------------------------------------------------------------------------
19
namespace
Game
20
{
21
22
class
World;
23
24
//------------------------------------------------------------------------------
27
ID_32_TYPE
(
ManagerHandle
)
28
29
//------------------------------------------------------------------------------
32
struct
ManagerAPI
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
Game::World
Definition
world.h:49
id.h
ID_32_TYPE
#define ID_32_TYPE(x)
Definition
id.h:16
Game
Definition
orientation.h:7
Game::ManagerAPI
A Manager is just a bundle of function pointers to static or global functions that is called by the G...
Definition
manager.h:33
Game::ManagerHandle
Definition
manager.h:27
code
application
game
manager.h
Generated on Fri May 3 2024 22:13:34 for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.