mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-21 13:55:10 +00:00
Reworking dependencies
This commit is contained in:
@@ -4,8 +4,13 @@
|
||||
|
||||
#include "System.hpp"
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace WAL
|
||||
{
|
||||
System::System(std::vector<std::type_index> dependencies)
|
||||
: _dependencies(std::move(dependencies))
|
||||
{}
|
||||
|
||||
void System::onUpdate(Entity &entity, std::chrono::nanoseconds dtime)
|
||||
{}
|
||||
@@ -15,4 +20,9 @@ namespace WAL
|
||||
|
||||
void System::onSelfUpdate()
|
||||
{}
|
||||
|
||||
const std::vector<std::type_index> &System::getDependencies() const
|
||||
{
|
||||
return this->_dependencies;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user