diff options
Diffstat (limited to 'src/entity.cpp')
-rw-r--r-- | src/entity.cpp | 4 |
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 | ||
16 | void Entity::tick(Game& game) | 16 | void 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 | ||