C# Class ScoringSystem, SlashRunner

Show file Open project: matthewAURA/SlashRunner Class Usage Examples

Public Properties

Property Type Description
NUMBER_OF_HIGHSCORE int
highScores List
isEndless bool

Public Methods

Method Description
AddScoreIntoHighScore ( ScoreEntry, entry ) : void
ClearHighScore ( ) : void
GetScore ( ) : float
IncreaseScore ( int amount ) : void
InitializeHighScore ( ) : void
setMultiple ( int multiple ) : void

Private Methods

Method Description
OnDisable ( ) : void
SaveScores ( ) : void
SortHighScore ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

AddScoreIntoHighScore() public method

public AddScoreIntoHighScore ( ScoreEntry, entry ) : void
entry ScoreEntry,
return void

ClearHighScore() public method

public ClearHighScore ( ) : void
return void

GetScore() public method

public GetScore ( ) : float
return float

IncreaseScore() public method

public IncreaseScore ( int amount ) : void
amount int
return void

InitializeHighScore() public method

public InitializeHighScore ( ) : void
return void

setMultiple() public method

public setMultiple ( int multiple ) : void
multiple int
return void

Property Details

NUMBER_OF_HIGHSCORE public property

public int NUMBER_OF_HIGHSCORE
return int

highScores public property

public List highScores
return List

isEndless public property

public bool isEndless
return bool