Add health/xp/level interface

This commit is contained in:
2016-05-28 16:04:44 +02:00
parent 34ea491f39
commit ae80c7a5bf
16 changed files with 289 additions and 54 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include "Vector.h"
class Cursor
{
private:
Cursor();
static Cursor* instance;
bool enabled;
Vec2f mousePosition;
public:
~Cursor();
static Cursor* getInstance(void);
void enable(bool enable);
bool isEnabled(void);
void draw(void);
void update(Vec2f newPosition);
};