C# Class StructureUnit

Inheritance: BaseUnit
Mostrar archivo Open project: BornToGrill/Project-Frequency Class Usage Examples

Public Properties

Property Type Description
BuildableUnits GameObject[]

Private Properties

Property Type Description

Public Methods

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

Method Details

DamageUnit() public method

public DamageUnit ( int damage, BaseUnit, attacker ) : void
damage int
attacker BaseUnit,
return void

DestroyStructure() public method

public DestroyStructure ( ) : void
return void

GetCost() public method

public GetCost ( Environment environment ) : int
environment Environment
return int

GetCost() public method

public GetCost ( Environment environment, Player, owner ) : int
environment Environment
owner Player,
return int

Property Details

BuildableUnits public_oe property

public GameObject[] BuildableUnits
return GameObject[]