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

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

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

Свойство Тип Описание
CloseWindow System.Action

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

Метод Описание
Draw ( ) : void
Initialize ( GameMain gameMain, string &reason ) : bool
KeyDown ( KeyboardInputEventArgs e ) : bool
Load ( ) : void
MouseDown ( int x, int y ) : bool
MouseHover ( int x, int y, float frameDeltaTime ) : bool
MouseUp ( int x, int y ) : bool

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

Метод Описание
AtLeastOneBetterArmor ( float remainingSpace ) : bool
AtLeastOneBetterComputer ( float remainingSpace ) : bool
AtLeastOneBetterECM ( float remainingSpace ) : bool
AtLeastOneBetterEngine ( float remainingSpace ) : bool
AtLeastOneBetterManeuver ( float remainingSpace ) : bool
AtLeastOneBetterShield ( float remainingSpace ) : bool
AtLeastOneBetterWeapon ( int>.KeyValuePair weapon, float remainingSpace ) : bool
AtLeastOneHigherLevelSpecial ( Equipment special, float remainingSpace ) : bool
GetCostUsed ( Technology whichTech, bool useSecondary ) : float
GetSpaceUsed ( Technology whichTech, bool useSecondary ) : float
LoadTechnologies ( ) : void
OnSelectArmor ( Equipment equipment, int slotNum ) : void
OnSelectComputer ( Equipment equipment, int slotNum ) : void
OnSelectECM ( Equipment equipment, int slotNum ) : void
OnSelectEngine ( Equipment equipment, int slotNum ) : void
OnSelectManeuver ( int maneuverLevel ) : void
OnSelectShield ( Equipment equipment, int slotNum ) : void
OnSelectSpecial ( Equipment equipment, int slotNum ) : void
OnSelectWeapon ( Equipment equipment, int slotNum ) : void
RefreshAll ( ) : void
RefreshComputer ( ) : void
RefreshECM ( ) : void
RefreshEngineLabels ( ) : void
RefreshHP ( ) : void
RefreshShield ( ) : void
RefreshShipSprite ( ) : void
RefreshSpecials ( ) : void
RefreshStats ( ) : void
RefreshValidButtons ( ) : void
RefreshWeapons ( ) : void
ScrapAction ( ) : void

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

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

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

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

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

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

public KeyDown ( KeyboardInputEventArgs e ) : bool
e KeyboardInputEventArgs
Результат bool

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

public Load ( ) : void
Результат 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

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

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

public Action,System CloseWindow
Результат System.Action