Files
raylib-cpp/examples/multiple/main.cpp
2021-02-09 20:54:34 -05:00

19 lines
331 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();
ClearBackground(SKYBLUE);
player.Update();
player.Draw();
window.EndDrawing();
}
}