Files
raylib-cpp/examples/multiple/main.cpp
2021-05-28 12:59:37 -04:00

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();
}
}