C# Class Asteroids.Classes.Highscores

Show file Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Properties

Property Type Description
highscores List

Public Methods

Method Description
AddHighscore ( int score, string name ) : void
CutArray ( ) : void
Highscores ( ) : System
LoadHighScores ( ) : void
ReadHighscoresFromFile ( ) : void
SaveHighScores ( ) : void
SortHighScores ( ) : void
SortHighscores ( ) : void
WriteHighscoreToFile ( int score, string name ) : void

Method Details

AddHighscore() public method

public AddHighscore ( int score, string name ) : void
score int
name string
return void

CutArray() public method

public CutArray ( ) : void
return void

Highscores() public method

public Highscores ( ) : System
return System

LoadHighScores() public method

public LoadHighScores ( ) : void
return void

ReadHighscoresFromFile() public method

public ReadHighscoresFromFile ( ) : void
return void

SaveHighScores() public method

public SaveHighScores ( ) : void
return void

SortHighScores() public method

public SortHighScores ( ) : void
return void

SortHighscores() public method

public SortHighscores ( ) : void
return void

WriteHighscoreToFile() public method

public WriteHighscoreToFile ( int score, string name ) : void
score int
name string
return void

Property Details

highscores public property

public List highscores
return List