Bomberman
IntroAnimationComponent.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace BBM
6 {
10  {
11  public:
12  unsigned int frameCounter = 0;
13 
22  };
23 
25 
27  Component *clone(WAL::Entity &entity) const override;
28 
31  explicit IntroAnimationComponent(WAL::Entity &entity);
34  IntroAnimationComponent(const IntroAnimationComponent &other) = default;
36  ~IntroAnimationComponent() override = default;
39  };
40 }
BBM::IntroAnimationComponent::IntroAnimationComponent
IntroAnimationComponent(WAL::Entity &entity)
Create a new, default IntroAnimationComponent.
Definition: IntroAnimationComponent.cpp:9
BBM::IntroAnimationComponent::fading
@ fading
Definition: IntroAnimationComponent.hpp:20
BBM::IntroAnimationComponent::operator=
IntroAnimationComponent & operator=(const IntroAnimationComponent &)=delete
A IntroAnimationComponent is not assignable.
BBM::IntroAnimationComponent::epitechLogo
@ epitechLogo
Definition: IntroAnimationComponent.hpp:15
BBM::IntroAnimationComponent::clone
Component * clone(WAL::Entity &entity) const override
Clone a component for another or the same entity.
Definition: IntroAnimationComponent.cpp:13
BBM::IntroAnimationComponent
A component to slowly center entities to the middle of their current block. This allow flexibility in...
Definition: IntroAnimationComponent.hpp:9
BBM::IntroAnimationComponent::frameCounter
unsigned int frameCounter
Definition: IntroAnimationComponent.hpp:12
BBM::IntroAnimationComponent::bottomRightGrowing
@ bottomRightGrowing
Definition: IntroAnimationComponent.hpp:18
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::IntroAnimationComponent::~IntroAnimationComponent
~IntroAnimationComponent() override=default
A default destructor.
BBM::IntroAnimationComponent::prompt
@ prompt
Definition: IntroAnimationComponent.hpp:21
BBM::IntroAnimationComponent::animationSteps
animationSteps
Definition: IntroAnimationComponent.hpp:14
BBM::IntroAnimationComponent::boxBlinking
@ boxBlinking
Definition: IntroAnimationComponent.hpp:16
WAL::Component::Component
Component(Entity &entity)
A component can't be instantiated, it should be derived.
Definition: Component.cpp:9
BBM::IntroAnimationComponent::lettersTyping
@ lettersTyping
Definition: IntroAnimationComponent.hpp:19
BBM::IntroAnimationComponent::topLeftgrowing
@ topLeftgrowing
Definition: IntroAnimationComponent.hpp:17
BBM::IntroAnimationComponent::currentStep
enum animationSteps currentStep
Definition: IntroAnimationComponent.hpp:24