#include <Thwomp.hpp>
◆ Thwomp() [1/2]
◆ Thwomp() [2/2]
pk::Thwomp::Thwomp |
( |
b2World * |
world, |
|
|
GLTexture & |
texture, |
|
|
GLRect |
rect, |
|
|
glm::vec2 |
crushPosition, |
|
|
float |
crushSpeed |
|
) |
| |
◆ ~Thwomp()
virtual pk::Thwomp::~Thwomp |
( |
| ) |
|
|
virtual |
◆ getSprite()
◆ setCrushingSpeed()
void pk::Thwomp::setCrushingSpeed |
( |
float |
speed | ) |
|
|
inline |
◆ update()
void pk::Thwomp::update |
( |
| ) |
|
◆ m_body
◆ m_crushingSpeed
float pk::Thwomp::m_crushingSpeed |
|
private |
◆ m_crushPosition
glm::vec2 pk::Thwomp::m_crushPosition |
|
private |
◆ m_direction
int pk::Thwomp::m_direction |
|
private |
◆ m_initialPosition
glm::vec2 pk::Thwomp::m_initialPosition |
|
private |
◆ m_sprite
◆ m_world
b2World* pk::Thwomp::m_world |
|
private |
The documentation for this class was generated from the following file: