FixedUpdateClient.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "TimeId.hpp"
5 
6 namespace iv
7 {
8 
10 {
11 public:
13 
14  FixedUpdateClient( Instance * inst, TimeId time );
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 }