C# Class Experience, Castle-Bashers

Inheritance: MonoBehaviour
Show file Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Public Properties

Property Type Description
ExperincePointsPerLevel int
currentLevel int

Public Methods

Method Description
AddExperience ( int amountToAdd ) : void
GetCurrentLevel ( ) : int
GetExperience ( ) : int
GetNEXP ( ) : int
LevelUp ( ) : void
SetExperience ( int EXP ) : void
SetLevel ( int lv ) : void
SpendPoint ( ExperiencePointType spendPointOn ) : bool
Start ( ) : void

Method Details

AddExperience() public method

public AddExperience ( int amountToAdd ) : void
amountToAdd int
return void

GetCurrentLevel() public method

public GetCurrentLevel ( ) : int
return int

GetExperience() public method

public GetExperience ( ) : int
return int

GetNEXP() public method

public GetNEXP ( ) : int
return int

LevelUp() public method

public LevelUp ( ) : void
return void

SetExperience() public method

public SetExperience ( int EXP ) : void
EXP int
return void

SetLevel() public method

public SetLevel ( int lv ) : void
lv int
return void

SpendPoint() public method

public SpendPoint ( ExperiencePointType spendPointOn ) : bool
spendPointOn ExperiencePointType
return bool

Start() public method

public Start ( ) : void
return void

Property Details

ExperincePointsPerLevel public property

public int ExperincePointsPerLevel
return int

currentLevel public property

public int currentLevel
return int