picking up crystal(sphere)

This commit is contained in:
Remco
2016-06-08 12:41:33 +02:00
parent 527394f635
commit bba0a2e2a0
12 changed files with 1959 additions and 16 deletions
+3
View File
@@ -6,6 +6,7 @@
#include "Enemy.h"
#include "LevelObject.h"
#include "Interface.h"
#include "Crystal.h"
class Entity;
@@ -20,6 +21,7 @@ private:
std::vector<Entity*> entities;
std::vector<Enemy*> enemies;
std::vector<Crystal*> crystals;
public:
World(const std::string &fileName);
~World();
@@ -30,5 +32,6 @@ public:
float getHeight(float x, float y);
void addLevelObject(LevelObject* obj);
std::pair<std::string, bool> getObjectFromValue(int i);
};