Bomberman
GridCenteredSystem.hpp
Go to the documentation of this file.
1 //
2 // Created by Zoe Roux on 5/24/21.
3 //
4 
5 #pragma once
6 
7 #include <System/System.hpp>
9 
10 namespace BBM
11 {
13  class GridCenteredSystem : public WAL::System<GridCenteredComponent, MovableComponent, PositionComponent>
14  {
15  public:
17 
19  explicit GridCenteredSystem(WAL::Wal &wal);
21  GridCenteredSystem(const GridCenteredSystem &) = default;
23  ~GridCenteredSystem() override = default;
26  };
27 }
WAL::ViewEntity
Definition: View.hpp:19
System.hpp
BBM::GridCenteredSystem::onFixedUpdate
void onFixedUpdate(WAL::ViewEntity< GridCenteredComponent, MovableComponent, PositionComponent > &entity) override
Definition: GridCenteredSystem.cpp:15
BBM
Definition: AnimationsComponent.cpp:9
PositionComponent.hpp
WAL::Wal
The main WAL class, it is used to setup and run the ECS.
Definition: Wal.hpp:27
BBM::GridCenteredSystem
The system handling GridCenteredComponent.
Definition: GridCenteredSystem.hpp:13
WAL::System
A base system of WAL.
Definition: System.hpp:22
BBM::GridCenteredSystem::GridCenteredSystem
GridCenteredSystem(WAL::Wal &wal)
A default constructor.
Definition: GridCenteredSystem.cpp:11
BBM::GridCenteredSystem::~GridCenteredSystem
~GridCenteredSystem() override=default
A default destructor.
BBM::GridCenteredSystem::operator=
GridCenteredSystem & operator=(const GridCenteredSystem &)=delete
A system is not assignable.