From 1f762f82f929cfd21222739a627a32e6199c34a9 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Wed, 6 Jul 2016 17:07:11 -0400 Subject: bow work, fixed dirt drawing --- include/entities.hpp | 12 ++++++++++++ include/world.hpp | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/entities.hpp b/include/entities.hpp index 2d96a9f..1bb2924 100644 --- a/include/entities.hpp +++ b/include/entities.hpp @@ -303,6 +303,18 @@ public: virtual void createFromXML(XMLElement *e, World *w=nullptr) =0; virtual void saveToXML(void) =0; +/* Entity + + ** + * Forces the given entity to follow this one. + * + void lead(Entity *e, unsigned int how); + + ** + * Attempts to break free from any following. + * + void unfollow(void);*/ + // a common constructor, clears variables Entity(void); diff --git a/include/world.hpp b/include/world.hpp index ffbc673..92a07b2 100644 --- a/include/world.hpp +++ b/include/world.hpp @@ -241,7 +241,7 @@ protected: * * @see addParticle() */ - CoolArray particles; + //CoolArray particles; /** * A vector of all villages in the world. @@ -270,6 +270,8 @@ protected: public: + CoolArray particles; + /** * A vector of pointers to all entities from the other vectors. * This is used to mass-manage entities, or operate on entities -- cgit v1.2.3