C# Class BuildingController, LORedAlert

Inheritance: MonoBehaviour
Mostra file Open project: applexiaohao/LORedAlert Class Usage Examples

Public Properties

Property Type Description
buildings ArrayList
createSoldier GameObject
upLevelMoney GameObject
upLevelWood GameObject

Public Methods

Method Description
AddBarrack ( Barrack, b ) : void
Awake ( ) : void
CreateSoldier ( ) : void
InspectGrid ( Vector3 pos ) : bool
RemoveBarrack ( Barrack, b ) : void
SetMainBarrack ( Barrack, b ) : void
Update ( ) : void

Method Details

AddBarrack() public method

public AddBarrack ( Barrack, b ) : void
b Barrack,
return void

Awake() public method

public Awake ( ) : void
return void

CreateSoldier() public method

public CreateSoldier ( ) : void
return void

InspectGrid() public method

public InspectGrid ( Vector3 pos ) : bool
pos Vector3
return bool

RemoveBarrack() public method

public RemoveBarrack ( Barrack, b ) : void
b Barrack,
return void

SetMainBarrack() public method

public SetMainBarrack ( Barrack, b ) : void
b Barrack,
return void

Update() public method

public Update ( ) : void
return void

Property Details

buildings public_oe property

public ArrayList buildings
return ArrayList

createSoldier public_oe property

public GameObject createSoldier
return GameObject

upLevelMoney public_oe property

public GameObject upLevelMoney
return GameObject

upLevelWood public_oe property

public GameObject upLevelWood
return GameObject