1 #ifndef CHARACTERCONTROLLER_HPP 2 #define CHARACTERCONTROLLER_HPP 79 #endif // CHARACTERCONTROLLER_HPP pk::CharacterBody m_body
Definition: CharacterController.hpp:44
double m_fireDelay
Definition: CharacterController.hpp:62
pk::GameController m_controller
Definition: CharacterController.hpp:47
virtual ~CharacterController()
Mix_Chunk * m_dashSound
Definition: CharacterController.hpp:74
void EndContact(b2Contact *contact) override
bool m_pressedRightShoulder
Definition: CharacterController.hpp:58
bool requestPause()
Definition: CharacterController.hpp:27
b2World * m_world
Definition: CharacterController.hpp:42
Mix_Chunk * m_jumpSound
Definition: CharacterController.hpp:73
void BeginContact(b2Contact *contact) override
bool m_pressedLeft
Definition: CharacterController.hpp:51
double m_pauseTimer
Definition: CharacterController.hpp:71
double m_fireTime
Definition: CharacterController.hpp:61
float m_dashVelocity
Definition: CharacterController.hpp:68
int m_playerID
Definition: CharacterController.hpp:48
float m_fireVelocity
Definition: CharacterController.hpp:63
float m_velocity
Definition: CharacterController.hpp:64
A class representing a Box2D dynamic body with special fixtures and data used to track collisions and...
Definition: CharacterBody.hpp:25
double m_jumpDelay
Definition: CharacterController.hpp:66
bool m_pressedRightTrigger
Definition: CharacterController.hpp:56
pk::GLSprite m_sprite
Definition: CharacterController.hpp:43
double m_jumpTime
Definition: CharacterController.hpp:65
bool m_pressedPause
Definition: CharacterController.hpp:69
std::vector< pk::Bullet > m_bullets
Definition: CharacterController.hpp:45
Mix_Chunk * m_shotSound
Definition: CharacterController.hpp:72
bool m_pressedUp
Definition: CharacterController.hpp:53
Useful for defining size and origin of an OpenGL object.
Definition: GLTransformable.hpp:15
bool m_pressedLeftShoulder
Definition: CharacterController.hpp:57
int getPlayerID()
Definition: CharacterController.hpp:35
Definition: CharacterController.hpp:16
unsigned int m_fireCounter
Definition: CharacterController.hpp:60
bool m_pressedFire
Definition: CharacterController.hpp:49
GLSprite & getSprite()
Definition: CharacterController.hpp:33
std::vector< pk::Bullet > & getBullets()
Definition: CharacterController.hpp:25
bool m_pressedLeftTrigger
Definition: CharacterController.hpp:55
bool m_pressedDown
Definition: CharacterController.hpp:54
int m_facingDirection
Definition: CharacterController.hpp:59
Class for creating textures usable with OpenGL from SDL.
Definition: GLTexture.hpp:57
bool m_pressedJump
Definition: CharacterController.hpp:50
Convenience class for abstracting functionality that already exists in SDL.
Definition: GameController.hpp:61
bool m_pressedRight
Definition: CharacterController.hpp:52
bool m_paused
Definition: CharacterController.hpp:70
float m_jumpVelocity
Definition: CharacterController.hpp:67
Definition: GLSprite.hpp:13