Teleportation in editor

This commit is contained in:
2022-11-19 22:53:24 +01:00
parent 6ac2726a94
commit 9402f2afa2
12 changed files with 255 additions and 19 deletions
+4
View File
@@ -136,6 +136,9 @@ public:
void setTeleportLevel(const std::string &level) {
teleport_level = level;
}
bool teleportBottom() {
return teleport_bottom;
}
private:
bool onGround = false;
@@ -165,6 +168,7 @@ private:
bool _death = false;
bool _instant_death = false;
std::string teleport_level = "";
bool teleport_bottom = false;
};
#endif