aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/world.h')
-rw-r--r--include/world.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/world.h b/include/world.h
index 0e8dced..50f2483 100644
--- a/include/world.h
+++ b/include/world.h
@@ -62,7 +62,10 @@ public:
// world is drawn the world has to appear directly behind the player)
World *goWorldFront(Player *p); // Functions the same as goWorldBack(), but checks/returns the world in front of
// this one.
- void addPlatform(float x,float y,float w,float h);
+ World *goInsideStructure(Player *p); // Returns the world contained in a structure if the player is requesting to enter
+ // it and is standing in front of it.
+ void addPlatform(float x,float y,float w,float h); // Dynamically adds a platform to the platform array. These will be automatically
+ // drawn and handled by the world.
};
/*