mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-03-01 08:30:09 +00:00
21 lines
341 B
C++
21 lines
341 B
C++
//
|
|
// Created by cbihan on 15/06/2021.
|
|
//
|
|
|
|
#include "ShaderSystem.hpp"
|
|
|
|
|
|
namespace BBM
|
|
{
|
|
ShaderSystem::ShaderSystem(WAL::Wal &wal)
|
|
: System(wal)
|
|
{
|
|
}
|
|
|
|
void ShaderSystem::onFixedUpdate(WAL::ViewEntity<ShaderComponent> &entity)
|
|
{
|
|
auto &shader = entity->getComponent<ShaderComponent>();
|
|
|
|
shader.onFixedUpdate(entity, this->_wal);
|
|
}
|
|
} |