#include <Bonus.hpp>
◆ Bonus() [1/3]
It's a constructor that takes a BonusType and sets the _type member variable to the value of the parameter
- Parameters
-
type | The type of the bonus. |
◆ Bonus() [2/3]
ECS::Bonus::Bonus |
( |
const Bonus & |
bonus | ) |
|
|
noexcept |
It's a copy constructor
- Parameters
-
◆ Bonus() [3/3]
ECS::Bonus::Bonus |
( |
Bonus && |
| ) |
|
|
explicitdeletenoexcept |
◆ ~Bonus()
◆ getBonus()
This function returns the type of bonus.
- Returns
- The type of bonus.
◆ operator=() [1/2]
◆ operator=() [2/2]
Bonus& ECS::Bonus::operator= |
( |
const Bonus & |
| ) |
const |
|
deletenoexcept |
◆ setBonus()
It sets the type of the bonus
- Parameters
-
The documentation for this class was generated from the following files: