Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
iv_components
Physical2D
Physical2D_Updater.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Physical2D.hpp
"
4
#include <
ivorium.hpp
>
5
6
namespace
comp
7
{
8
12
class
Physical2D_Updater
:
public
iv::FixedUpdateClient
13
{
14
public
:
15
iv::ClientMarker
cm
;
16
using
iv::FixedUpdateClient::instance
;
17
18
Physical2D_Updater
(
iv::Instance
* inst,
Physical2D_World
* world );
19
20
protected
:
21
virtual
void
fixed_update
(
iv::TimeId
time,
int
time_step,
int
steps )
override
;
22
23
private
:
24
Physical2D_World
* world;
25
};
26
27
}