#include <BumperTimerComponent.hpp>
|
| bool | _isReseting = false |
| |
| std::chrono::nanoseconds | resetRate = 1500ms |
| | The number of seconds of each rest. This variable is used to reset the nextReset value. More...
|
| |
| std::chrono::nanoseconds | nextReset = resetRate |
| | The number of nanosecond before the next bumper reset for the player. More...
|
| |
◆ BumperTimerComponent() [1/2]
| BBM::BumperTimerComponent::BumperTimerComponent |
( |
WAL::Entity & |
entity | ) |
|
◆ BumperTimerComponent() [2/2]
A BumperTimer component can't be instantiated, it should be derived.
◆ ~BumperTimerComponent()
| BBM::BumperTimerComponent::~BumperTimerComponent |
( |
| ) |
|
|
overridedefault |
◆ clone()
Clone a component for another or the same entity.
- Parameters
-
| entity | The entity that owns the ne component. |
Implements WAL::Component.
◆ operator=()
A BumperTimer component can't be assigned.
◆ _isReseting
| bool BBM::BumperTimerComponent::_isReseting = false |
◆ nextReset
| std::chrono::nanoseconds BBM::BumperTimerComponent::nextReset = resetRate |
The number of nanosecond before the next bumper reset for the player.
◆ resetRate
| std::chrono::nanoseconds BBM::BumperTimerComponent::resetRate = 1500ms |
The number of seconds of each rest. This variable is used to reset the nextReset value.
The documentation for this class was generated from the following files: