summaryrefslogtreecommitdiffstats
path: root/src/model/Map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/Map.cpp')
-rw-r--r--src/model/Map.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/model/Map.cpp b/src/model/Map.cpp
index c31f55b..9cbe880 100644
--- a/src/model/Map.cpp
+++ b/src/model/Map.cpp
@@ -45,6 +45,11 @@ std::shared_ptr<Map> Map::load(__attribute__((unused)) const std::string &name)
}
}
+ std::shared_ptr<Entity> square(new Entity("square"));
+ square->move(6, 6);
+
+ map->entities.push_back(square);
+
return map;
}