Line data Source code
1 : //
2 : // physicssystem.h
3 : // minirl
4 : //
5 : // Created by Benjamin Porter on 2/1/18.
6 : // Copyright © 2018 Benjamin Porter. All rights reserved.
7 : //
8 :
9 : #ifndef physicssystem_hpp
10 : #define physicssystem_hpp
11 :
12 : #include "physics.h"
13 : #include "system.h"
14 : #include "util.h"
15 :
16 : #include <cstdint>
17 : #include <string>
18 :
19 : class Game;
20 : class PhysicsSystem : public System {
21 : public:
22 5 : PhysicsSystem(Game& game) : game_(game) {}
23 : void update() final;
24 0 : void handleEvent(const EvAny&) final {}
25 :
26 : protected:
27 : Game& game_;
28 : };
29 : #endif /* physicssystem_hpp */
|