Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_systems
TimeSystem
FixedUpdateClient.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
TimeId.hpp
"
4
#include <
ivorium_core/ivorium_core.hpp
>
5
6
namespace
iv
7
{
8
9
class
FixedUpdateClient
10
{
11
public
:
12
ClientMarker
cm
;
13
14
FixedUpdateClient
(
Instance
* inst,
TimeId
time );
15
~FixedUpdateClient
();
16
Instance
*
instance
()
const
;
17
18
void
fixed_update_pause
();
19
void
fixed_update_resume
();
20
21
virtual
void
fixed_update
(
TimeId
time,
int
time_step,
int
steps ) = 0;
22
23
private
:
24
Instance
* inst;
25
TimeId
time;
26
bool
active;
27
};
28
29
30
31
}