C# Class AbstractFactory.EnemyShip

Show file Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Public Properties

Property Type Description
name string

Protected Properties

Property Type Description
engine IESEngine
weapon IESWeapon

Public Methods

Method Description
DisplayShip ( ) : void
FollowHeroShip ( ) : void
MakeShip ( ) : void
Shoot ( ) : void
ToString ( ) : string

Method Details

DisplayShip() public method

public DisplayShip ( ) : void
return void

FollowHeroShip() public method

public FollowHeroShip ( ) : void
return void

MakeShip() public abstract method

public abstract MakeShip ( ) : void
return void

Shoot() public method

public Shoot ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

engine protected property

protected IESEngine engine
return IESEngine

name public property

public string name
return string

weapon protected property

protected IESWeapon weapon
return IESWeapon