summary refs log tree commit diff stats
path: root/src/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index 38ddffe..2b6cd7f 100644 --- a/src/entity.cpp +++ b/src/entity.cpp
@@ -13,11 +13,11 @@ void Entity::send(Game& game, const Message& msg)
13 } 13 }
14} 14}
15 15
16void Entity::tick(Game& game) 16void Entity::tick(Game& game, double dt)
17{ 17{
18 for (auto component : components) 18 for (auto component : components)
19 { 19 {
20 component->tick(game, *this); 20 component->tick(game, *this, dt);
21 } 21 }
22} 22}
23 23