MovieClip |
GUI.WorldDomination.FvFCurrentStatusDistrict |
| GUI. | |
| Variables | |
| m_UncontrolledIcon | |
| m_IlluminatiIcon | |
| m_DragonIcon | |
| m_TemplarsIcon | |
| m_DistrictName | |
| m_FactionName | |
| m_FactionsArray | |
| Functions | |
| FvFCurrentStatusDistrict | |
| Init | |
| SetFaction | This function uses the Faction global enum to reveal one of the faction icons while hiding the others and to set the faction’s name. |
| SetDistrict | This function sets the district name. |
public function SetFaction( faction: Number ):Void
This function uses the Faction global enum to reveal one of the faction icons while hiding the others and to set the faction’s name.
| param | faction:Number 0: uncontrolled district 1: _global.Enums.Factions.e_FactionDragon 2: _global.Enums.Factions.e_FactionTemplar 3: _global.Enums.Factions.e_FactionIlluminati |
private var m_UncontrolledIcon: MovieClip
private var m_IlluminatiIcon: MovieClip
private var m_DragonIcon: MovieClip
private var m_TemplarsIcon: MovieClip
private var m_DistrictName: TextField
private var m_FactionName: TextField
private var m_FactionsArray: Array
public function FvFCurrentStatusDistrict()
private function Init():Void
This function uses the Faction global enum to reveal one of the faction icons while hiding the others and to set the faction’s name.
public function SetFaction( faction: Number ):Void
This function sets the district name.
public function SetDistrict( name: String ):Void