|
| Player (const std::string &uniqueName, std::shared_ptr< engine::Texture > &texture, const std::string &bulletTextureName, std::uint32_t networkId=0, const sf::Vector2f &pos={0, 0}) |
|
void | colliding (const size_t &entity, const size_t &entityCollidingWith) |
|
void | enableDoubleBullet () |
|
void | getDamage (size_t entity, int damage) override |
|
void | move (size_t entity, const engine::Event event) |
|
void | shoot () |
|
| Base (const std::string &uniqueName) |
|
size_t | getEntityId () |
|
const std::string & | getUniqueName () |
|
void | setEntityId (size_t entityId) |
|
void | setUniqueName (const std::string &uniqueName) |
|
virtual void | getDamage (size_t entity, int damage)=0 |
|
|
std::string | _bulletTextureName |
|
engine::Clock | _clockCooldown |
|
float | _delta |
|
bool | _doubleBullet |
|
bool | _networked |
|
std::uint32_t | _networkId |
|
|
size_t | _entityId |
|
std::string | _uniqueName |
|
int | _health |
|
◆ getDamage()
void Player::getDamage |
( |
size_t |
entity, |
|
|
int |
damage |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following files:
- /github/workspace/client/include/Player.hpp
- /github/workspace/client/src/Player.cpp