summaryrefslogtreecommitdiff
path: root/src/game/Menu.h
blob: 1824190fc5ed2823c65067d34c006b8f3c5b68dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * Menu.h
 *
 *  Created on: Jan 22, 2012
 *      Author: Simon
 */

#ifndef MENU_H_
#define MENU_H_

#include "Tool.h"

class Menu
{
	char icon;
	string description;
	vector<Tool*> tools;
public:
	Menu(char icon_, string description_):
		icon(icon_),
		description(description_),
		tools(vector<Tool*>())
	{

	}

	vector<Tool*> GetToolList()
	{
		return tools;
	}

	char GetIcon()
	{
		return icon;
	}

	string GetDescription()
	{
		return description;
	}

	void AddTool(Tool * tool_)
	{
		tools.push_back(tool_);
	}
};


#endif /* MENU_H_ */