#include <Bullet.hpp>
◆ Bullet() [1/3]
ECS::Bullet::Bullet |
( |
bool |
isFriend | ) |
|
|
explicitnoexcept |
This function is a constructor for the Bullet class
- Parameters
-
isFriend | Whether the bullet is friendly or not. |
◆ Bullet() [2/3]
ECS::Bullet::Bullet |
( |
const Bullet & |
bullet | ) |
|
|
noexcept |
◆ Bullet() [3/3]
ECS::Bullet::Bullet |
( |
Bullet && |
| ) |
|
|
explicitdeletenoexcept |
◆ ~Bullet()
◆ getBullet()
bool ECS::Bullet::getBullet |
( |
| ) |
const |
|
noexcept |
It returns the value of the private variable _isFriend.
- Returns
- A boolean value.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setBullet()
void ECS::Bullet::setBullet |
( |
const bool & |
isFriend | ) |
|
|
noexcept |
This function sets the bullet to be friendly or not.
- Parameters
-
isFriend | Whether the bullet is friendly or not. |
The documentation for this class was generated from the following files: