![]()  | 
  
    Gamedev Framework (gf)
    0.11.0
    
   A C++14 framework for 2D games 
   | 
 
A game object that can be updated. More...
#include <gf/Model.h>

Public Member Functions | |
| virtual | ~Model () | 
| Destructor.  More... | |
| virtual void | update (Time time) | 
| Update the model's state.  More... | |
A game object that can be updated.
gf::Model represents a game object that is updated but not rendered. It is simpler than a gf::Entity because it has no priority and no liveness property.
It can typically be used to encapsulate a physics engine.
Models can be grouped in a gf::ModelContainer.
      
  | 
  virtual | 
Destructor.
      
  | 
  virtual | 
Update the model's state.
Models are updated each frame. The time between two frames is given as a parameter to help in the update. This time is in seconds.
| time | The time since the last update | 
Reimplemented in gf::PhysicsModel, and gf::FixedTimestepModel.
 1.8.13