Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_systems
TimeSystem
FrameUpdateClient.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
ivorium_core/ivorium_core.hpp
>
4
5
namespace
iv
6
{
7
8
class
Instance;
9
class
TimeSystem;
10
15
class
FrameUpdateClient
16
{
17
public
:
18
ClientMarker
cm
;
19
20
FrameUpdateClient
(
Instance
* inst );
21
~FrameUpdateClient
();
22
Instance
*
instance
();
23
24
virtual
void
frame_update
() = 0;
25
26
void
frame_update_pause
();
27
void
frame_update_resume
();
28
29
void
frame_update_inc
();
30
void
frame_update_dec
();
31
32
bool
frame_update_active
();
33
34
private
:
35
Instance
* inst;
36
TimeSystem
* ts;
37
int
active;
38
};
39
40
}