From a8bcacc95045102e67f2feabbdddf79535837554 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 19 Aug 2021 18:46:51 +0200 Subject: forgot to make repo until now --- game/menu.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 game/menu.h (limited to 'game/menu.h') diff --git a/game/menu.h b/game/menu.h new file mode 100644 index 0000000..95be683 --- /dev/null +++ b/game/menu.h @@ -0,0 +1,47 @@ +#ifndef MENU_H +#define MENU_H + +#include +#include + +#include "../umath/vec2.h" + +class Option { + public: + Option(std::string name, int id) : name(name), id(id) {} + + std::string name; + int id; +}; + + +class Menu { + public: + bool active { false }; + std::vector