GameKit  0.0.1a
C++ gamedev tools
LifetimeController.hpp
Go to the documentation of this file.
1 /*
2  * =====================================================================================
3  *
4  * Filename: LifetimeController.hpp
5  *
6  * Description:
7  *
8  * Created: 26/01/2018 01:19:16
9  *
10  * Author: Quentin Bazin, <quent42340@gmail.com>
11  *
12  * =====================================================================================
13  */
14 #ifndef GK_LIFETIMECONTROLLER_HPP_
15 #define GK_LIFETIMECONTROLLER_HPP_
16 
18 
19 namespace gk {
20 
22  public:
23  void update(SceneObjectList &objectList) override;
24  void update(SceneObject &) override {}
25 
26  bool isGlobal() const override { return true; }
27 };
28 
29 } // namespace gk
30 
31 #endif // GK_LIFETIMECONTROLLER_HPP_
void update(SceneObjectList &objectList) override
bool isGlobal() const override
void update(SceneObject &) override