C# Класс SectionAttributes, verthex

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

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

Свойство Тип Описание
height int
material SectionMaterial,
maxSP int
myTower Tower,
sp int
weapon SectionWeapon,

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

Метод Описание
GetCost ( ) : int
GetWeight ( ) : int
HasWeapon ( ) : bool
IsOverloaded ( int stress ) : bool
Repair ( ) : void
SectionAttributes ( SectionMaterial, newMat, SectionWeapon, newWeapon ) : System.Collections

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

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

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

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

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

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

public HasWeapon ( ) : bool
Результат bool

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

public IsOverloaded ( int stress ) : bool
stress int
Результат bool

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

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

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

public SectionAttributes ( SectionMaterial, newMat, SectionWeapon, newWeapon ) : System.Collections
newMat SectionMaterial,
newWeapon SectionWeapon,
Результат System.Collections

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

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

public int height
Результат int

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

public SectionMaterial, material
Результат SectionMaterial,

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

public int maxSP
Результат int

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

public Tower, myTower
Результат Tower,

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

public int sp
Результат int

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

public SectionWeapon, weapon
Результат SectionWeapon,