From 9283e1eb66d6ff96b02f317e28cb6ff060953cdf Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 29 Oct 2024 20:01:27 +0100 Subject: WIP load XML --- backend/Dungeon.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/Dungeon.cpp') diff --git a/backend/Dungeon.cpp b/backend/Dungeon.cpp index 45158a6..55dccec 100644 --- a/backend/Dungeon.cpp +++ b/backend/Dungeon.cpp @@ -4,3 +4,7 @@ void Dungeon::update() { } +void Dungeon::add_location(Location * location) { + this->locations.push_back(location); +} + -- cgit v1.2.3