|
Bomberman
|
#include <WhiteShaderComponent.hpp>
Public Member Functions | |
| WAL::Component * | clone (WAL::Entity &entity) const override |
| Clone a component for another or the same entity. More... | |
| WhiteShaderComponent (WAL::Entity &entity) | |
| ctor More... | |
| WhiteShaderComponent (const WhiteShaderComponent &)=default | |
| Default copy ctor. More... | |
| ~WhiteShaderComponent () override=default | |
| Default dtor. More... | |
| WhiteShaderComponent & | operator= (const WhiteShaderComponent &)=delete |
| Default assignment operator. More... | |
Public Member Functions inherited from WAL::Component | |
| Component & | operator= (const Component &)=delete |
| A component can't be assigned. More... | |
| virtual | ~Component ()=default |
| A virtual destructor. More... | |
| virtual void | onStart () |
| The entity or this component has just been enabled. More... | |
| virtual void | onStop () |
| The entity or this component has just been disable. More... | |
Public Attributes | |
| float | whiteValue = 0 |
| Transparency. More... | |
| float | balance = 1 |
| used to increase & decrease white value More... | |
| std::chrono::nanoseconds | clock = 0ns |
| The clock to use. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from WAL::Component | |
| Component (Entity &entity) | |
| A component can't be instantiated, it should be derived. More... | |
| Component (const Component &)=default | |
| A component can't be instantiated, it should be derived. More... | |
Protected Attributes inherited from WAL::Component | |
| Entity & | _entity |
| The entity that own this component. More... | |
|
explicit |
ctor
|
default |
Default copy ctor.
|
overridedefault |
Default dtor.
|
overridevirtual |
Clone a component for another or the same entity.
| entity | The entity that owns the ne component. |
Implements WAL::Component.
|
delete |
Default assignment operator.
| float BBM::WhiteShaderComponent::balance = 1 |
used to increase & decrease white value
| std::chrono::nanoseconds BBM::WhiteShaderComponent::clock = 0ns |
The clock to use.
| float BBM::WhiteShaderComponent::whiteValue = 0 |
Transparency.
1.8.17