Files
Pong-Reloaded/include/menu.h
T
2026-05-20 11:30:06 +03:00

21 lines
416 B
C++

#pragma once
#include "game.h"
#include <string>
#include <vector>
// --- UI / Systems ---
class Menu {
private:
std::string title;
std::vector<std::string> options;
int selectedIndex;
public:
Menu(std::string menuTitle, std::vector<std::string> menuOptions)
: title(menuTitle), options(menuOptions), selectedIndex(0) {
}
void Update(GameState& currentState);
void Draw();
};