#include <Controlable.hpp>
◆ Controlable() [1/3]
ECS::Controlable::Controlable |
( |
bool |
cont | ) |
|
|
explicitnoexcept |
This function is a constructor for the Controlable class. It takes a boolean as a parameter and sets the _controlable variable to that boolean
- Parameters
-
cont | Whether or not the entity is controlable. |
◆ Controlable() [2/3]
ECS::Controlable::Controlable |
( |
const Controlable & |
cont | ) |
|
|
noexcept |
◆ Controlable() [3/3]
◆ ~Controlable()
ECS::Controlable::~Controlable |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ changeControlable()
void ECS::Controlable::changeControlable |
( |
| ) |
|
|
noexcept |
If the entity is controlable, it becomes not controlable, and if it's not controlable, it becomes controlable
◆ getControlable()
bool ECS::Controlable::getControlable |
( |
| ) |
const |
|
noexcept |
It returns the value of the private variable _controlable.
- Returns
- A boolean value.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following files: