mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 21:35:12 +00:00
28 lines
507 B
C++
28 lines
507 B
C++
//
|
|
// Created by Zoe Roux on 5/17/21.
|
|
//
|
|
|
|
#include "System.hpp"
|
|
#include <vector>
|
|
#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)
|
|
{}
|
|
|
|
void System::onFixedUpdate(Entity &entity)
|
|
{}
|
|
|
|
void System::onSelfUpdate()
|
|
{}
|
|
|
|
const std::vector<std::type_index> &System::getDependencies() const
|
|
{
|
|
return this->_dependencies;
|
|
}
|
|
} // namespace WAL
|