Files
raylib-cpp/examples/multiple/main.cpp
2021-02-18 01:45:18 -05:00

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