aboutsummaryrefslogtreecommitdiffstats
path: root/include/components.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/components.hpp')
-rw-r--r--include/components.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/components.hpp b/include/components.hpp
index 857236f..becc839 100644
--- a/include/components.hpp
+++ b/include/components.hpp
@@ -75,6 +75,12 @@ struct Health {
int maxHealth;
};
+struct Portal {
+ Portal(std::string tf = "") : toFile(tf) {}
+
+ std::string toFile;
+};
+
/**
* @struct Solid
* @brief Allows an entity to collide with other objects.