Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2012, 4:47:47 PM (12 years ago)
Author:
landauf
Message:

refactored HUDEnemyHealthBar: now it uses ControllableEntity::getTarget() instead of searching the target itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/overlays/hud/HUDHealthBar.h

    r9016 r9259  
    110110                { return this->textoverlay_->getSpaceWidth(); }
    111111
    112             inline void setOverlayText(SmartPtr<OverlayText> textoverlay)
    113                 { this->textoverlay_ = textoverlay; }
    114             inline SmartPtr<OverlayText> getOverlayText() const
    115                 {return this->textoverlay_; }
     112            inline void setHealthBarOwner(Pawn* owner)
     113                { this->owner_ = owner; }
    116114
    117115        private:
Note: See TracChangeset for help on using the changeset viewer.