mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-29 08:52:06 +00:00
PlayerBonus system & component made (containing timer)
This commit is contained in:
@@ -27,10 +27,6 @@ namespace BBM
|
||||
bool pause = false;
|
||||
//! @brief The speed applied to every controllable entities.
|
||||
float speed = .25f;
|
||||
//! @brief The number of seconds before a speedbonus expire. This variable is used to reset the nextSpeedBonusRate value.
|
||||
std::chrono::nanoseconds speedBonusRate = 15000ms;
|
||||
//! @brief The number of nanosecond before the expiration of a speed bonus.
|
||||
std::chrono::nanoseconds nextSpeedBonusRate = speedBonusRate;
|
||||
|
||||
//! @inherit
|
||||
WAL::Component *clone(WAL::Entity &entity) const override;
|
||||
|
||||
Reference in New Issue
Block a user