C# Class BuildingTriangle, RTSmini

Inheritance: Building
ファイルを表示 Open project: Arihy/RTSmini

Public Properties

Property Type Description
STATE_DIE StateTriangleBuilding,
STATE_IDLE StateTriangleBuilding,
STATE_PROD StateTriangleBuilding,
prefabTriangleUnit GameObject
spawnPoint GameObject

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
createUnit ( ) : void
getCountSphere ( ) : int
setCurrentState ( StateTriangleBuilding, newState ) : void
suscribe ( ) : void

Private Methods

Method Description
checkNewState ( ) : void
die ( ) : void
playAnim ( ) : void
prod ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

createUnit() public method

public createUnit ( ) : void
return void

getCountSphere() public method

public getCountSphere ( ) : int
return int

setCurrentState() public method

public setCurrentState ( StateTriangleBuilding, newState ) : void
newState StateTriangleBuilding,
return void

suscribe() public method

public suscribe ( ) : void
return void

Property Details

STATE_DIE public_oe property

public StateTriangleBuilding, STATE_DIE
return StateTriangleBuilding,

STATE_IDLE public_oe property

public StateTriangleBuilding, STATE_IDLE
return StateTriangleBuilding,

STATE_PROD public_oe property

public StateTriangleBuilding, STATE_PROD
return StateTriangleBuilding,

prefabTriangleUnit public_oe property

public GameObject prefabTriangleUnit
return GameObject

spawnPoint public_oe property

public GameObject spawnPoint
return GameObject