Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2008, 1:14:19 AM (15 years ago)
Author:
landauf
Message:

The SpaceShips HUD is working again (Speedbar and Radar)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/overlays/OverlayGroup.h

    r2087 r2256  
    6969        void changedVisibility();
    7070
     71        void setOwner(ControllableEntity* owner);
     72        inline ControllableEntity* getOwner() const
     73            { return this->owner_; }
     74
    7175    private:
    7276        //! Scales each OrxonoxOverlay individually by scale.
     
    8892        Vector2 scale_;                                         //!< Current scale (independant of the elements).
    8993        Vector2 scroll_;                                        //!< Current scrolling offset.
     94        ControllableEntity* owner_;                             //!< The owner of this OverlayGroup
    9095    };
    9196}
Note: See TracChangeset for help on using the changeset viewer.