| 2 | #include "raylib-cpp.hpp" |
| 3 | |
| 4 | Player::Player() { |
| 5 | position = Rectangle{ |
| 6 | GetScreenWidth() / 2.0f - 50, |
| 7 | GetScreenHeight() / 2.0f - 50, |
| 8 | 100, |
| 9 | 100 |
| 10 | }; |
| 11 | speed = 3; |
| 12 | } |
| 13 | |
| 14 | void Player::Draw() { |
| 15 | position.Draw(RED); |
nothing calls this directly
no outgoing calls
no test coverage detected