Bomberman
ShaderDrawable2DSystem.hpp
Go to the documentation of this file.
1 //
2 // Created by cbihan on 15/06/2021.
3 //
4 
5 #pragma once
6 
8 #include "System/System.hpp"
9 #include "Wal.hpp"
10 
11 namespace BBM
12 {
13  class ShaderDrawable2DSystem : public WAL::System<ShaderComponentDrawable2D>
14  {
15  public:
16 
18  void onUpdate(WAL::ViewEntity<ShaderComponentDrawable2D> &entity, std::chrono::nanoseconds dtime) override;
19 
21  explicit ShaderDrawable2DSystem(WAL::Wal &wal);
25  ~ShaderDrawable2DSystem() override = default;
28  };
29 }
BBM::ShaderDrawable2DSystem::ShaderDrawable2DSystem
ShaderDrawable2DSystem(WAL::Wal &wal)
ctor
Definition: ShaderDrawable2DSystem.cpp:9
WAL::ViewEntity
Definition: View.hpp:19
System.hpp
BBM::ShaderDrawable2DSystem::operator=
ShaderDrawable2DSystem & operator=(const ShaderDrawable2DSystem &)=delete
A render screen system can't be assigned.
BBM::ShaderDrawable2DSystem
Definition: ShaderDrawable2DSystem.hpp:13
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::ShaderDrawable2DSystem::onUpdate
void onUpdate(WAL::ViewEntity< ShaderComponentDrawable2D > &entity, std::chrono::nanoseconds dtime) override
Definition: ShaderDrawable2DSystem.cpp:14
WAL::System
A base system of WAL.
Definition: System.hpp:22
Wal.hpp
ShaderComponent.hpp
BBM::ShaderDrawable2DSystem::~ShaderDrawable2DSystem
~ShaderDrawable2DSystem() override=default
Default dtor.