C# Class Electric_Potatoe_TD.Potatoe

Inheritance: Node
显示文件 Open project: Haseo/Electric-Potatoe-TD Class Usage Examples

Public Methods

Method Description
AddCapital ( int value ) : void
Potatoe ( float xPos, float yPos, Game data ) : System
getCapital ( ) : int
getScore ( ) : int
setCapital ( int value ) : void
subCapital ( int value ) : void
takeDamage ( int value ) : void

Method Details

AddCapital() public method

public AddCapital ( int value ) : void
value int
return void

Potatoe() public method

public Potatoe ( float xPos, float yPos, Game data ) : System
xPos float
yPos float
data Game
return System

getCapital() public method

public getCapital ( ) : int
return int

getScore() public method

public getScore ( ) : int
return int

setCapital() public method

public setCapital ( int value ) : void
value int
return void

subCapital() public method

public subCapital ( int value ) : void
value int
return void

takeDamage() public method

public takeDamage ( int value ) : void
value int
return void