C# Class Beyond_Beyaan.Screens.EquipmentSelection

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

Public Properties

Property Type Description
OnSelectEquipment int>.Action
OnSelectManeuver Action

Public Methods

Method Description
Draw ( ) : void
Initialize ( GameMain gameMain, string &reason ) : bool
LoadEquipments ( Ship shipDesign, EquipmentType equipmentType, int currentManeuver, int>.Dictionary techLevels, float spacePerPower, float costPerPower ) : void
LoadEquipments ( Ship shipDesign, EquipmentType equipmentType, int slotNum, List technologies, int>.Dictionary techLevels, float spacePerPower, float costPerPower ) : void
MouseDown ( int x, int y ) : bool
MouseHover ( int x, int y, float frameDeltaTime ) : bool
MouseUp ( int x, int y ) : bool

Private Methods

Method Description
GetEmptyEquipment ( ) : Equipment
LoadArmor ( List _technologies ) : void
LoadComputers ( List _technologies ) : void
LoadECM ( List _technologies ) : void
LoadEngines ( List _technologies ) : void
LoadShields ( List _technologies ) : void
LoadSpecials ( List _technologies ) : void
LoadWeapons ( List _technologies ) : void
PowerRequiredForManeuver ( int maneuverAmount ) : int
RefreshLabels ( ) : void
SetControlsAndWindow ( ) : void
SetText ( int whichRow ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

Initialize() public method

public Initialize ( GameMain gameMain, string &reason ) : bool
gameMain GameMain
reason string
return bool

LoadEquipments() public method

public LoadEquipments ( Ship shipDesign, EquipmentType equipmentType, int currentManeuver, int>.Dictionary techLevels, float spacePerPower, float costPerPower ) : void
shipDesign Ship
equipmentType EquipmentType
currentManeuver int
techLevels int>.Dictionary
spacePerPower float
costPerPower float
return void

LoadEquipments() public method

public LoadEquipments ( Ship shipDesign, EquipmentType equipmentType, int slotNum, List technologies, int>.Dictionary techLevels, float spacePerPower, float costPerPower ) : void
shipDesign Ship
equipmentType EquipmentType
slotNum int
technologies List
techLevels int>.Dictionary
spacePerPower float
costPerPower float
return void

MouseDown() public method

public MouseDown ( int x, int y ) : bool
x int
y int
return bool

MouseHover() public method

public MouseHover ( int x, int y, float frameDeltaTime ) : bool
x int
y int
frameDeltaTime float
return bool

MouseUp() public method

public MouseUp ( int x, int y ) : bool
x int
y int
return bool

Property Details

OnSelectEquipment public property

public Action OnSelectEquipment
return int>.Action

OnSelectManeuver public property

public Action OnSelectManeuver
return Action