#include "game.h" #include "raylib.h" Game::Game(int width, int height, std::string title) { InitWindow(width, height, title.c_str()); SetTargetFPS(60); // Set our game to run at 60 frames-per-second } Game::~Game() { CloseWindow(); // Close window and OpenGL context } bool Game::GameShouldClose() const { return WindowShouldClose(); } void Game::Tick() { BeginDrawing(); Update(); Draw(); EndDrawing(); } void Game::Draw() { ClearBackground(RAYWHITE); } void Game::Update() { }