Bomberman
sources
System
Shaders
ShaderSystem.hpp
Go to the documentation of this file.
1
//
2
// Created by cbihan on 15/06/2021.
3
//
4
5
#pragma once
6
7
#include "
Component/Shaders/ShaderComponent.hpp
"
8
#include "
System/System.hpp
"
9
10
namespace
BBM
11
{
12
class
ShaderSystem
:
public
WAL::System
<ShaderComponent>
13
{
14
public
:
15
17
void
onUpdate
(
WAL::ViewEntity<ShaderComponent>
&entity, std::chrono::nanoseconds dtime)
override
;
18
20
explicit
ShaderSystem
(
WAL::Wal
&wal);
22
ShaderSystem
(
const
ShaderSystem
&) =
default
;
24
~ShaderSystem
()
override
=
default
;
26
ShaderSystem
&
operator=
(
const
ShaderSystem
&) =
delete
;
27
};
28
}
WAL::ViewEntity
Definition:
View.hpp:19
System.hpp
BBM::ShaderSystem::onUpdate
void onUpdate(WAL::ViewEntity< ShaderComponent > &entity, std::chrono::nanoseconds dtime) override
Definition:
ShaderSystem.cpp:15
BBM
Definition:
AnimationsComponent.cpp:9
WAL::Wal
The main WAL class, it is used to setup and run the ECS.
Definition:
Wal.hpp:27
BBM::ShaderSystem::operator=
ShaderSystem & operator=(const ShaderSystem &)=delete
A render screen system can't be assigned.
BBM::ShaderSystem::ShaderSystem
ShaderSystem(WAL::Wal &wal)
ctor
Definition:
ShaderSystem.cpp:10
WAL::System
A base system of WAL.
Definition:
System.hpp:22
BBM::ShaderSystem::~ShaderSystem
~ShaderSystem() override=default
Default dtor.
ShaderComponent.hpp
BBM::ShaderSystem
Definition:
ShaderSystem.hpp:12
Generated by
1.8.17