Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 26, 2014, 5:18:44 PM (11 years ago)
Author:
aejonas
Message:

acces to GetHealth in HUDNavigation for scaling the healthbar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hudHS14/src/modules/overlays/hud/HUDEnemyHealthBar.cc

    r10110 r10143  
    6060
    6161
    62 
    6362/*
    64         //--------------------------------------------------------------------------
     63//--------------------------------------------------------------------------
    6564        //first try to place a healthbar under the enemy ship
    6665        //getting all the parameters (direction, position, angle) to place the health bar on the screen
     
    9695
    9796        this->setTextOffset(screenCoordinates);
    98 
    99 
    100 
    101 
    102 
    10397        }
    104 
    10598        //--------------------------------------------------------------------------
    10699*/
     100
    107101
    108102
     
    121115                target = target->getParent();
    122116            pawn = orxonox_cast<Pawn*>(target);
    123 
    124 
    125 
    126             /*Vector3 tempPosition = target->getWorldPosition();
    127             Vector2 tempPos2D = Vector2(tempPosition.x, tempPosition.y);
    128                      this->pickPoint_(tempPos2D);
    129                      this->position_(tempPos2D);*/
    130117
    131118
Note: See TracChangeset for help on using the changeset viewer.