mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 10:59:00 +00:00
19 lines
366 B
C++
19 lines
366 B
C++
#include "Player.hpp"
|
|
#include "raylib-cpp.hpp"
|
|
|
|
int main() {
|
|
raylib::Window window(640, 480);
|
|
SetTargetFPS(60);
|
|
|
|
Player player;
|
|
while (!window.ShouldClose()) {
|
|
window.BeginDrawing();
|
|
{
|
|
window.ClearBackground(SKYBLUE);
|
|
player.Update();
|
|
player.Draw();
|
|
}
|
|
window.EndDrawing();
|
|
}
|
|
}
|