aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-01-05 07:31:32 -0500
committerClyne Sullivan <tullivan99@gmail.com>2017-01-05 07:31:32 -0500
commitcbd154a4834f56146dbe744ee2d2c6dccc04c5cb (patch)
tree71c0aba63b67062de4de98e993ae925f3c201967 /src/world.cpp
parentd7d1b397197893f0ce49b28f762711b7a9ef1087 (diff)
todo finder
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 6b18542..b10edac 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -375,6 +375,8 @@ void WorldSystem::load(const std::string& file)
entity.assign<Grounded>();
} else if (tname == "Wander") {
entity.assign<Wander>();
+ } else if (tname == "Hop" ) {
+ entity.assign<Hop>();
} else if (tname == "Animation") {
auto entan = entity.assign<Animate>();
auto animx = abcd->FirstChildElement();