C# Class WaterUnit

Inheritance: LandUnit
Show file Open project: BornToGrill/Project-Frequency Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Awake ( ) : void
CanMerge ( BaseUnit, unit ) : bool
DamageUnit ( int damage, BaseUnit, attacker ) : void
Merge ( BaseUnit, unit ) : void
Retaliate ( ) : void
UnloadUnit ( GameObject tile ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

CanMerge() public method

public CanMerge ( BaseUnit, unit ) : bool
unit BaseUnit,
return bool

DamageUnit() public method

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

Merge() public method

public Merge ( BaseUnit, unit ) : void
unit BaseUnit,
return void

Retaliate() public method

public Retaliate ( ) : void
return void

UnloadUnit() public method

public UnloadUnit ( GameObject tile ) : void
tile GameObject
return void