C# Class StructureUnit

Inheritance: BaseUnit
Afficher le fichier Open project: BornToGrill/Project-Frequency Class Usage Examples

Méthodes publiques

Свойство Type Description
BuildableUnits GameObject[]

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
DamageUnit ( int damage, BaseUnit, attacker ) : void
DestroyStructure ( ) : void
GetCost ( Environment environment ) : int
GetCost ( Environment environment, Player, owner ) : int

Method Details

DamageUnit() public méthode

public DamageUnit ( int damage, BaseUnit, attacker ) : void
damage int
attacker BaseUnit,
Résultat void

DestroyStructure() public méthode

public DestroyStructure ( ) : void
Résultat void

GetCost() public méthode

public GetCost ( Environment environment ) : int
environment Environment
Résultat int

GetCost() public méthode

public GetCost ( Environment environment, Player, owner ) : int
environment Environment
owner Player,
Résultat int

Property Details

BuildableUnits public_oe property

public GameObject[] BuildableUnits
Résultat GameObject[]