From c17ca81cbdaa999889eb0efe043d52aa1fc076bd Mon Sep 17 00:00:00 2001 From: HENRY Benjamin Date: Thu, 17 Jun 2021 14:44:55 +0200 Subject: [PATCH] updated selfUpdate --- sources/System/IAControllable/IAControllableSystem.cpp | 2 +- sources/System/IAControllable/IAControllableSystem.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/System/IAControllable/IAControllableSystem.cpp b/sources/System/IAControllable/IAControllableSystem.cpp index 26432c1f..cec372fc 100644 --- a/sources/System/IAControllable/IAControllableSystem.cpp +++ b/sources/System/IAControllable/IAControllableSystem.cpp @@ -172,7 +172,7 @@ namespace BBM ia._state.popLast(); } - void IAControllableSystem::onSelfUpdate() + void IAControllableSystem::onSelfUpdate(std::chrono::nanoseconds dtime) { _cached = false; _map.clear(); diff --git a/sources/System/IAControllable/IAControllableSystem.hpp b/sources/System/IAControllable/IAControllableSystem.hpp index 6c895a25..36ce9cfe 100644 --- a/sources/System/IAControllable/IAControllableSystem.hpp +++ b/sources/System/IAControllable/IAControllableSystem.hpp @@ -53,7 +53,7 @@ namespace BBM void onFixedUpdate(WAL::ViewEntity &entity) override; //! @inherit - void onSelfUpdate() override; + void onSelfUpdate(std::chrono::nanoseconds dtime) override; //! @brief A default constructor IAControllableSystem(WAL::Wal &wal);