Changeset 11702 for code/trunk/src/modules/overlays/hud/HUDPickupItem.h
- Timestamp:
- Jan 6, 2018, 2:01:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/overlays/hud/HUDPickupItem.h
r11353 r11702 5 5 #include "overlays/OverlaysPrereqs.h" 6 6 7 #include <map> 8 #include <vector> 9 #include <string> 10 11 #include <OgreOverlayManager.h> 12 #include <OgrePanelOverlayElement.h> 13 7 #include "util/OgreForwardRefs.h" 14 8 #include "overlays/OrxonoxOverlay.h" 15 #include "tools/interfaces/Tickable.h"16 #include "worldentities/pawns/Pawn.h"17 #include "overlays/OverlayGroup.h"18 #include "pickup/Pickup.h"19 9 20 10 namespace orxonox 21 11 { 22 class _OverlaysExport HUDPickupItem : public OrxonoxOverlay , public Tickable12 class _OverlaysExport HUDPickupItem : public OrxonoxOverlay 23 13 { 24 14 public: 25 15 HUDPickupItem(Context* context); 26 Ogre::PanelOverlayElement* overlayElement_;27 16 virtual ~HUDPickupItem(); 28 17 29 18 void initializeMaterial(const std::string& s, float x, float y); 30 void hideMe( Pickupable* p, bool repaint);19 void hideMe(); 31 20 32 private: 33 WeakPtr<Pawn> owner_; 34 WeakPtr<Pickup> pickup_; 35 21 private: 22 Ogre::PanelOverlayElement* overlayElement_; 36 23 }; 37 24 }
Note: See TracChangeset
for help on using the changeset viewer.