Bomberman
WhiteShaderComponent.hpp
Go to the documentation of this file.
1 //
2 // Created by cbihan on 16/06/2021.
3 //
4 
5 #pragma once
6 
7 
9 #include <chrono>
10 
11 using namespace std::chrono_literals;
12 
13 namespace BBM
14 {
16  {
17  public:
19  float whiteValue = 0;
20 
22  float balance = 1;
23 
25  std::chrono::nanoseconds clock = 0ns;
26 
27 
29  WAL::Component *clone(WAL::Entity &entity) const override;
30 
32  explicit WhiteShaderComponent(WAL::Entity &entity);
33 
35  WhiteShaderComponent(const WhiteShaderComponent &) = default;
36 
38  ~WhiteShaderComponent() override = default;
39 
41  WhiteShaderComponent &operator=(const WhiteShaderComponent &) = delete;
42  };
43 
44 }
45 
WAL::Component
Represent a single component of WAL.
Definition: Component.hpp:17
BBM
Definition: AnimationsComponent.cpp:9
WAL::Entity
An entity of the WAL's ECS.
Definition: Entity.hpp:20
Component.hpp
BBM::WhiteShaderComponent
Definition: WhiteShaderComponent.hpp:15