C# Класс Beyond_Beyaan.Equipment

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

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

Метод Описание
Equipment ( Technology whichTech, bool useSecondary ) : System
GetActualCost ( int>.Dictionary techLevels, int shipSize, float costPerPower ) : float
GetActualSize ( int>.Dictionary techLevels, int shipSize, float spacePerPower ) : float
GetCost ( int>.Dictionary techLevels, int shipSize ) : float
GetMaxDamage ( ) : int
GetMinDamage ( ) : int
GetPower ( int shipSize ) : float
GetRange ( ) : int
GetSize ( int>.Dictionary techLevels, int shipSize ) : float

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

Equipment() публичный Метод

public Equipment ( Technology whichTech, bool useSecondary ) : System
whichTech Technology
useSecondary bool
Результат System

GetActualCost() публичный Метод

public GetActualCost ( int>.Dictionary techLevels, int shipSize, float costPerPower ) : float
techLevels int>.Dictionary
shipSize int
costPerPower float
Результат float

GetActualSize() публичный Метод

public GetActualSize ( int>.Dictionary techLevels, int shipSize, float spacePerPower ) : float
techLevels int>.Dictionary
shipSize int
spacePerPower float
Результат float

GetCost() публичный Метод

public GetCost ( int>.Dictionary techLevels, int shipSize ) : float
techLevels int>.Dictionary
shipSize int
Результат float

GetMaxDamage() публичный Метод

public GetMaxDamage ( ) : int
Результат int

GetMinDamage() публичный Метод

public GetMinDamage ( ) : int
Результат int

GetPower() публичный Метод

public GetPower ( int shipSize ) : float
shipSize int
Результат float

GetRange() публичный Метод

public GetRange ( ) : int
Результат int

GetSize() публичный Метод

public GetSize ( int>.Dictionary techLevels, int shipSize ) : float
techLevels int>.Dictionary
shipSize int
Результат float