Attempt implement menu (unresolved symbol error)

This commit is contained in:
2016-06-09 17:56:37 +02:00
parent 0209c8b4e2
commit ced3ff4462
21 changed files with 370 additions and 64 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include "MenuElement.h"
#include "Vector.h"
#include "Util.h"
class Text : public MenuElement
{
private:
std::string text;
Vec3f color;
public:
Text(const std::string &text, Vec2f position);
~Text();
void draw();
void update(int x, int y);
void setColor(Vec3f color);
};