mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-07 05:40:40 +00:00
Merging with develop
This commit is contained in:
@@ -13,13 +13,13 @@ namespace BBM
|
||||
ringIn(delay)
|
||||
{}
|
||||
|
||||
TimerComponent::TimerComponent(WAL::Entity &entity, std::chrono::nanoseconds delay, const WAL::Callback<WAL::Entity &, const WAL::Wal &> &callback)
|
||||
TimerComponent::TimerComponent(WAL::Entity &entity, std::chrono::nanoseconds delay, const WAL::Callback<WAL::Entity &, WAL::Wal &> &callback)
|
||||
: WAL::Component(entity),
|
||||
ringIn(delay),
|
||||
callback(callback)
|
||||
{}
|
||||
|
||||
TimerComponent::TimerComponent(WAL::Entity &entity, std::chrono::nanoseconds delay, std::function<void(WAL::Entity &, const WAL::Wal &)> callback)
|
||||
TimerComponent::TimerComponent(WAL::Entity &entity, std::chrono::nanoseconds delay, std::function<void(WAL::Entity &, WAL::Wal &)> callback)
|
||||
: WAL::Component(entity),
|
||||
ringIn(delay),
|
||||
callback(std::move(callback))
|
||||
|
||||
Reference in New Issue
Block a user