Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 7, 2016, 5:08:11 PM (7 years ago)
Author:
patricwi
Message:

visualization of pickup system initiated. next steps: add pickup icons when picked up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.h

    r11263 r11277  
    3232#include <string>
    3333
     34
     35#include <OgreOverlayManager.h>
     36#include <OgrePanelOverlayElement.h>
     37
    3438#include "overlays/OrxonoxOverlay.h"
    3539#include "worldentities/pawns/Pawn.h"
    3640#include "overlays/OverlayGroup.h"
     41#include "pickup/Pickup.h"
     42#include "pickup/PickupRepresentation.h"
    3743
    3844namespace orxonox
     
    5157        // virtual void positionChanged() override;
    5258        // virtual void sizeChanged() override;
    53     protected:
    54         void updatePickupList();
     59    private:
     60        void updatePickupList(std::vector<Pickup> picks);
    5561        void createPickupList();
    5662        void destroyAll();
     63
     64        Ogre::PanelOverlayElement* overlayElement_;
     65        WeakPtr<Pawn> owner_;
     66
     67        std::vector<PickupRepresentation> pickupRepresentations_;
    5768    };
    5869}
Note: See TracChangeset for help on using the changeset viewer.