C# Class Beyond_Beyaan.Ship

Show file Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Public Properties

Property Type Description
Armor Equipment
Computer Equipment
ECM Equipment
Engine float>.KeyValuePair
ManeuverSpeed int
Shield Equipment
Specials Beyond_Beyaan.Equipment[]
Weapons int>[].KeyValuePair

Public Methods

Method Description
Clear ( List availableArmorTechs, List availableEngineTechs ) : void
Load ( System.Xml.Linq.XElement shipDesign, GameMain gameMain ) : void
Save ( XmlWriter writer ) : void
Ship ( ) : System
Ship ( Ship shipToCopy ) : System
UpdateEngineNumber ( ) : void

Private Methods

Method Description
LoadEquipment ( string equipmentName, GameMain gameMain ) : Equipment

Method Details

Clear() public method

public Clear ( List availableArmorTechs, List availableEngineTechs ) : void
availableArmorTechs List
availableEngineTechs List
return void

Load() public method

public Load ( System.Xml.Linq.XElement shipDesign, GameMain gameMain ) : void
shipDesign System.Xml.Linq.XElement
gameMain GameMain
return void

Save() public method

public Save ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void

Ship() public method

public Ship ( ) : System
return System

Ship() public method

public Ship ( Ship shipToCopy ) : System
shipToCopy Ship
return System

UpdateEngineNumber() public method

public UpdateEngineNumber ( ) : void
return void

Property Details

Armor public property

public Equipment,Beyond_Beyaan Armor
return Equipment

Computer public property

public Equipment,Beyond_Beyaan Computer
return Equipment

ECM public property

public Equipment,Beyond_Beyaan ECM
return Equipment

Engine public property

public KeyValuePair Engine
return float>.KeyValuePair

ManeuverSpeed public property

public int ManeuverSpeed
return int

Shield public property

public Equipment,Beyond_Beyaan Shield
return Equipment

Specials public property

public Equipment[],Beyond_Beyaan Specials
return Beyond_Beyaan.Equipment[]

Weapons public property

public KeyValuePair[] Weapons
return int>[].KeyValuePair