aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-09-28 08:48:38 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-09-28 08:48:38 -0400
commit82727d2d50d6a71cd5e9d5a7c00fa41888a39eb7 (patch)
tree34334d941f7947e9933049e56c000a878f5371b3 /include/world.h
parent9630c8a49cbad7b1b71b9401ff24881ebf4c7c25 (diff)
improvements ;)
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.
};
/*