Files
raylib-cpp/examples/multiple/main.cpp
2021-04-05 19:29:25 +05:30

21 lines
370 B
C++

#include "raylib-cpp.hpp"
#include "./Player.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();
}
}