aboutsummaryrefslogtreecommitdiff
path: root/frontend/GameData.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/GameData.h')
-rw-r--r--frontend/GameData.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/GameData.h b/frontend/GameData.h
index 172f7d5..54d33c7 100644
--- a/frontend/GameData.h
+++ b/frontend/GameData.h
@@ -14,9 +14,9 @@ private:
DB db { "kerkersendraken.db" };
public:
- Enemy * create_enemy(const std::string & name) const;
- Object * create_object(const std::string & name) const;
- Location * create_location(const std::string & name) const;
+ std::unique_ptr<Enemy> create_enemy(const std::string & name) const;
+ std::unique_ptr<Object> create_object(const std::string & name) const;
+ std::unique_ptr<Location> create_location(const std::string & name) const;
public:
void leaderbord_add(const std::string & name, unsigned int gold);