Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2018, 1:24:26 PM (6 years ago)
Author:
kunzro
Message:

highlight and dehighlight function added for province and WagnisHUD info adjusts colour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wagnis_HS18/src/modules/wagnis/WagnisProvince.cc

    r12150 r12159  
    7373
    7474    }
     75    //highlight a province
     76    void WagnisProvince::highlight(){
     77        this->setRadarObjectColour( colour({255,255,255}, 100.0f) );
     78    }
     79    //dehighlight a province
     80    void WagnisProvince::dehighlight(){
     81        this->setOwner_ID( this->getOwner_ID() );
     82    }
    7583    //set troops
    7684    void WagnisProvince::setTroops(int troops){
Note: See TracChangeset for help on using the changeset viewer.