C# Класс Beyond_Beyaan.Screens.EquipmentSelection

Наследование: WindowInterface
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
OnSelectEquipment int>.Action
OnSelectManeuver Action

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Draw() публичный метод

public Draw ( ) : void
Результат void

Initialize() публичный метод

public Initialize ( GameMain gameMain, string &reason ) : bool
gameMain GameMain
reason string
Результат bool

LoadEquipments() публичный метод

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
Результат void

LoadEquipments() публичный метод

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
Результат void

MouseDown() публичный метод

public MouseDown ( int x, int y ) : bool
x int
y int
Результат bool

MouseHover() публичный метод

public MouseHover ( int x, int y, float frameDeltaTime ) : bool
x int
y int
frameDeltaTime float
Результат bool

MouseUp() публичный метод

public MouseUp ( int x, int y ) : bool
x int
y int
Результат bool

Описание свойств

OnSelectEquipment публичное свойство

public Action OnSelectEquipment
Результат int>.Action

OnSelectManeuver публичное свойство

public Action OnSelectManeuver
Результат Action