#include <Bullet.hpp>
◆ Bullet() [1/2]
◆ Bullet() [2/2]
pk::Bullet::Bullet |
( |
b2World * |
world, |
|
|
GLRect |
rect, |
|
|
float |
delay |
|
) |
| |
◆ ~Bullet()
virtual pk::Bullet::~Bullet |
( |
| ) |
|
|
virtual |
◆ fire()
void pk::Bullet::fire |
( |
float |
speed | ) |
|
◆ getPosition()
glm::vec2 pk::Bullet::getPosition |
( |
| ) |
|
◆ getRotation()
float pk::Bullet::getRotation |
( |
| ) |
|
◆ getVelocity()
glm::vec2 pk::Bullet::getVelocity |
( |
| ) |
|
◆ isAlive()
bool pk::Bullet::isAlive |
( |
| ) |
|
◆ setPosition()
void pk::Bullet::setPosition |
( |
glm::vec2 |
position | ) |
|
◆ setVelocity()
void pk::Bullet::setVelocity |
( |
glm::vec2 |
velocity | ) |
|
◆ m_aliveTime
double pk::Bullet::m_aliveTime |
|
private |
◆ m_body
◆ m_destroyDelay
double pk::Bullet::m_destroyDelay |
|
private |
◆ m_world
b2World* pk::Bullet::m_world |
|
private |
The documentation for this class was generated from the following file: