C# Class Beyond_Beyaan.TechnologyManager

Datei anzeigen Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Public Methods

Method Description
AccureResearch ( float researchPoints ) : void
GetFieldLevels ( ) : int>.Dictionary
GetFieldProgressString ( TechField whichField, float researchPoints ) : string
Load ( XElement empire, MasterTechnologyManager MTM ) : void
RollForDiscoveries ( Random r, SitRepManager sitRepManager ) : List
Save ( XmlWriter writer ) : void
SetComputerTechs ( List techs ) : void
SetConstructionTechs ( List techs ) : void
SetForceFieldTechs ( List techs ) : void
SetPercentage ( TechField whichField, int amount ) : void
SetPlanetologyTechs ( List techs ) : void
SetPropulsionTechs ( List techs ) : void
SetWeaponTechs ( List techs ) : void
TechnologyManager ( ) : System

Private Methods

Method Description
GetChanceForDiscovery ( TechField whichField ) : int
GetFieldInvestmentAmount ( TechField whichField, float researchPoints ) : float
GetTotalPercentageExcludingTypeAndLocked ( TechField techField ) : int
UpdateValues ( ) : void

Method Details

AccureResearch() public method

public AccureResearch ( float researchPoints ) : void
researchPoints float
return void

GetFieldLevels() public method

public GetFieldLevels ( ) : int>.Dictionary
return int>.Dictionary

GetFieldProgressString() public method

public GetFieldProgressString ( TechField whichField, float researchPoints ) : string
whichField TechField
researchPoints float
return string

Load() public method

public Load ( XElement empire, MasterTechnologyManager MTM ) : void
empire XElement
MTM MasterTechnologyManager
return void

RollForDiscoveries() public method

public RollForDiscoveries ( Random r, SitRepManager sitRepManager ) : List
r Random
sitRepManager SitRepManager
return List

Save() public method

public Save ( XmlWriter writer ) : void
writer XmlWriter
return void

SetComputerTechs() public method

public SetComputerTechs ( List techs ) : void
techs List
return void

SetConstructionTechs() public method

public SetConstructionTechs ( List techs ) : void
techs List
return void

SetForceFieldTechs() public method

public SetForceFieldTechs ( List techs ) : void
techs List
return void

SetPercentage() public method

public SetPercentage ( TechField whichField, int amount ) : void
whichField TechField
amount int
return void

SetPlanetologyTechs() public method

public SetPlanetologyTechs ( List techs ) : void
techs List
return void

SetPropulsionTechs() public method

public SetPropulsionTechs ( List techs ) : void
techs List
return void

SetWeaponTechs() public method

public SetWeaponTechs ( List techs ) : void
techs List
return void

TechnologyManager() public method

public TechnologyManager ( ) : System
return System