stash/unstash clunky as fuck
[laserbrain_demo] / src / exman.h
index 8b9b65a..13d9bcc 100644 (file)
@@ -36,6 +36,7 @@ public:
 class ExhibitManager {
 private:
        std::vector<Exhibit*> items, stashed;
+       int cur_stashed;
        std::vector<ExhibitSlot*> exslots;
        // TODO kdtree of slots for quick nearest queries
 
@@ -58,6 +59,7 @@ public:
        ExhibitSlot *nearest_empty_slot(const Vec3 &pos, float max_dist = 10) const;
 
        void stash_exhibit(Exhibit *ex);
+       Exhibit *unstash_exhibit();
 
        void update(float dt = 0.0f);
        void draw() const;