Files
Snake-Raylib/include/Game.h
T
2023-05-06 18:33:58 +02:00

21 lines
443 B
C++

#pragma once
#include <string>
#include "Board.h"
#include "Snake.h"
class Game {
public:
Game(int width, int height, int fps, std::string title);
Game(const Game& other) = delete;
Game& operator=(const Game& other) = delete;
~Game() noexcept;
bool GameShouldClose() const;
void Tick();
private:
void Update();
void Draw();
Board board;
Snake snake;
};