aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/entities.hpp2
-rw-r--r--include/world.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/entities.hpp b/include/entities.hpp
index 82f80c7..ca4ef2b 100644
--- a/include/entities.hpp
+++ b/include/entities.hpp
@@ -284,7 +284,7 @@ public:
bool isHit(void) const;
// returns true if this entity is near the one provided
- bool isNear(Entity e);
+ bool isNear(const Entity *e);
// returns true if the coordinate is within the entity
bool isInside(vec2 coord) const;
diff --git a/include/world.hpp b/include/world.hpp
index 74f9cb7..ce50244 100644
--- a/include/world.hpp
+++ b/include/world.hpp
@@ -264,7 +264,6 @@ protected:
* @see addStructure()
* @see getStructurePos()
*/
- std::vector<Structures *> build;
/**
* A vector of all villages in the world.
@@ -291,6 +290,7 @@ protected:
public:
+ std::vector<Structures *> build;
/**
* A vector of pointers to all entities from the other vectors.
* This is used to mass-manage entities, or operate on entities