C# 클래스 _1942.HighScore

파일 보기 프로젝트 열기: Hoobler/Projekt1 1 사용 예제들

공개 메소드들

메소드 설명
AddHighScore ( string name, int score ) : void
Draw ( SpriteBatch spriteBatch ) : void
HighScore ( string ListFile ) : System
RetreiveHighScore ( ) : void

Retreives the Highscore list from the .xml file that contains the top 10 high scores

Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
DataAccess ( ) : void
DeleteHighScore ( ) : void

Used to delete a highscore based on it's placement in the highscore list

SortHighScore ( ) : void
TextLenght ( string String ) : Vector2
WriteHighScore ( string _name, int _score, int _placement ) : void

Takes the inputed highscore and name of the player and add it's to the high scorelist

메소드 상세

AddHighScore() 공개 메소드

public AddHighScore ( string name, int score ) : void
name string
score int
리턴 void

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

HighScore() 공개 메소드

public HighScore ( string ListFile ) : System
ListFile string
리턴 System

RetreiveHighScore() 공개 메소드

Retreives the Highscore list from the .xml file that contains the top 10 high scores
public RetreiveHighScore ( ) : void
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void