| 700 | } |
| 701 | |
| 702 | bool PlayerObject::playerIsFalling() |
| 703 | { |
| 704 | if (this->isGravityFlipped()) |
| 705 | return this->m_dYVel > this->m_dGravity; |
| 706 | else |
| 707 | return this->m_dYVel < this->m_dGravity; |
| 708 | } |
| 709 | |
| 710 | void PlayerObject::collidedWithObject(float dt, GameObject* obj) |
| 711 | { |
no test coverage detected