This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/gui/game/Menu.h
Tamás Bálint Misius 0179cefc78
Flatten include trees
2019-04-20 15:36:11 +02:00

43 lines
552 B
C++

#ifndef MENU_H_
#define MENU_H_
#include "common/String.h"
class Tool;
class Menu
{
String::value_type icon;
String description;
std::vector<Tool*> tools;
bool visible;
public:
Menu(String::value_type icon_, String description_, int visible_);
virtual ~Menu();
std::vector<Tool*> GetToolList()
{
return tools;
}
String::value_type GetIcon()
{
return icon;
}
String GetDescription()
{
return description;
}
bool GetVisible()
{
return visible;
}
void AddTool(Tool * tool_);
void ClearTools();
};
#endif /* MENU_H_ */