| 23 | #include "raylib-cpp.hpp" |
| 24 | |
| 25 | int main() { |
| 26 | raylib::Window window(640, 480, "raylib-cpp [multiple] example"); |
| 27 | SetTargetFPS(60); |
| 28 | |
| 29 | Player player; |
| 30 | while (!window.ShouldClose()) { |
| 31 | window.BeginDrawing(); |
| 32 | { |
| 33 | window.ClearBackground(SKYBLUE); |
| 34 | player.Update(); |
| 35 | player.Draw(); |
| 36 | } |
| 37 | window.EndDrawing(); |
| 38 | } |
| 39 | } |
nothing calls this directly
no test coverage detected