Changeset 11704 for code/trunk/src/modules/pickup/PickupManager.h
- Timestamp:
- Jan 6, 2018, 3:16:00 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/PickupManager.h
r11353 r11704 42 42 43 43 #include "PickupRepresentation.h" 44 #include "interfaces/Pickupable.h" 44 45 45 #include "util/Singleton.h" 46 46 #include "interfaces/PickupListener.h" 47 #include "overlays/hud/HUDPickupSystem.h"48 47 49 48 namespace orxonox // tolua_export … … 136 135 137 136 void dropPickup(uint32_t pickup); //!< Drop the input Pickupable. 138 static void useUnusePickup(uint32_t index); //tolua_export139 137 void usePickup(uint32_t pickup, bool use); //!< Use (or unuse) the input Pickupable. 140 138 /** … … 149 147 static void dropPickupNetworked(uint32_t pickup); //!< Helper method to drop the input pickup on the server. 150 148 static void usePickupNetworked(uint32_t pickup, bool use); //!< Helper method to use (or unuse) the input Pickupable on the server. 151 void setPickupSystem(HUDPickupSystem* system);152 149 153 150 private: 154 HUDPickupSystem* pickupSystem;155 std::vector<Pickupable*> picks;156 157 151 static PickupManager* singletonPtr_s; 158 152 static const std::string guiName_s; //!< The name of the PickupInventory … … 172 166 void updateGUI(void); //!< Updates the PickupInventory GUI. 173 167 uint32_t getPickupIndex(void); //!< Get a new index for a Pickupable. 174 168 175 169 }; // tolua_export 176 170
Note: See TracChangeset
for help on using the changeset viewer.