Definition at line 6 of file Player.h.
◆ getSize()
| glm::vec2 Player::getSize |
( |
| ) |
const |
|
inline |
◆ justJumped()
| bool Player::justJumped |
( |
| ) |
const |
|
inline |
◆ onGround()
| bool Player::onGround |
( |
| ) |
const |
◆ update()
◆ wasOnGround()
| bool Player::wasOnGround |
( |
| ) |
const |
|
inline |
◆ colour
| glm::vec4 Player::colour = {1.0f, 0.0f, 0.0f, 1.0f} |
◆ emitter
Initial value:{
{0, 0},
{1, 1},
{1, 1, 1, 1}
}
Definition at line 17 of file Player.h.
◆ gravity
| float Player::gravity = -50.0f |
◆ height
| float Player::height = 1.0f |
◆ jumpPower
| float Player::jumpPower = 18.0f |
◆ pos
| glm::vec2 Player::pos {0.0f, 0.0f} |
◆ vy
◆ width
| float Player::width = 1.0f |
The documentation for this class was generated from the following files: