aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/world.h')
-rw-r--r--include/world.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/world.h b/include/world.h
index 1e78cd0..0a23965 100644
--- a/include/world.h
+++ b/include/world.h
@@ -164,12 +164,15 @@ public:
std::vector<Mob *> mob;
std::vector<Entity *> entity;
std::vector<Object *> object;
+ std::vector<Particles *> particles;
- void addStructure(_TYPE t,float x,float y,World *outside,World *inside);
+ void addStructure(_TYPE t,BUILD_SUB sub,float x,float y,World *outside,World *inside);
+ void addVillage(int bCount, int npcMin, int npcMax,_TYPE t,float x,float y,World *outside,World *inside);
void addMob(int t,float x,float y);
void addMob(int t,float x,float y,void (*hey)(Mob *));
void addNPC(float x,float y);
void addObject(ITEM_ID, bool, const char *, float, float);
+ void addParticle(float, float, float, float, float, float, Color color, int);
void update(Player *p,unsigned int delta);
@@ -231,6 +234,9 @@ public:
World *goWorldRight(Player *p);
World *goWorldBack(Player *p);
World *goWorldFront(Player *p);
+
+ bool isWorldLeft(void);
+ bool isWorldRight(void);
/*
* Called to enter/exit a structure.
@@ -277,7 +283,6 @@ public:
class Arena : public World {
private:
vec2 pxy;
- vec2 door;
World *exit;
public:
Arena(World *leave,Player *p);