The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'! https://forums.lestoria.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AdventuresInLestoria/Crawler/Menu.h

19 lines
375 B

#pragma once
#include "MenuButton.h"
#include "olcPixelGameEngine.h"
#include <stack>
class Crawler;
class Menu{
std::stack<Menu*>*stack=nullptr;
std::vector<MenuButton>buttons;
vf2d size; //Size in tiles (24x24), every menu will be tile-based
Menu();
void AddButton(vf2d pos);
void Update(float fElapsedTime);
void Draw(Crawler*game);
};