picking up crystal(sphere)
This commit is contained in:
@@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user