]> git.localhorst.tv Git - blank.git/blobdiff - src/ui/Interface.hpp
give unique IDs to entities
[blank.git] / src / ui / Interface.hpp
index aab8b156596e5cdf42ba691bb8cbe8a381c46dc4..7c9a91e33324520c458ff7cf773ea90d51360f56 100644 (file)
@@ -20,6 +20,7 @@
 
 namespace blank {
 
+class Entity;
 class Environment;
 class Viewport;
 class World;
@@ -40,7 +41,7 @@ public:
                bool visual_disabled = false;
        };
 
-       Interface(const Config &, Environment &, World &);
+       Interface(const Config &, Environment &, World &, Entity &);
 
        Entity &Player() noexcept { return ctrl.Controlled(); }
        const Entity &Player() const noexcept { return ctrl.Controlled(); }