#include <Ghost.hpp>
◆ Ghost()
pk::Ghost::Ghost |
( |
b2World * |
world, |
|
|
GLTexture & |
texture, |
|
|
GLRect |
rect, |
|
|
steer::BehaviorParameters * |
params |
|
) |
| |
◆ ~Ghost()
virtual pk::Ghost::~Ghost |
( |
| ) |
|
|
virtual |
◆ getSprite()
◆ setChaseSpeed()
void pk::Ghost::setChaseSpeed |
( |
float |
speed | ) |
|
|
inline |
◆ update()
void pk::Ghost::update |
( |
float |
dt, |
|
|
const glm::vec2 & |
target |
|
) |
| |
◆ m_body
◆ m_chaseSpeed
float pk::Ghost::m_chaseSpeed |
|
private |
◆ m_seek
steer::SeekComponent pk::Ghost::m_seek |
|
private |
◆ m_sprite
◆ m_world
b2World* pk::Ghost::m_world |
|
private |
The documentation for this class was generated from the following file: