C# 클래스 Tetris.Score

파일 보기 프로젝트 열기: vs-team/casanova-mk2 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
font SpriteFont
level int
recordPlayer string
recordScore int
sBatch SpriteBatch
value int

공개 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void

This is called when the game should draw itself.

Initialize ( ) : void

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.

Score ( Tetris.Game game, SpriteFont font ) : Microsoft.Xna.Framework

메소드 상세

Draw() 공개 메소드

This is called when the game should draw itself.
public Draw ( GameTime gameTime ) : void
gameTime GameTime Provides a snapshot of timing values.
리턴 void

Initialize() 공개 메소드

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
public Initialize ( ) : void
리턴 void

Score() 공개 메소드

public Score ( Tetris.Game game, SpriteFont font ) : Microsoft.Xna.Framework
game Tetris.Game
font SpriteFont
리턴 Microsoft.Xna.Framework

프로퍼티 상세

font 보호되어 있는 프로퍼티

protected SpriteFont font
리턴 SpriteFont

level 보호되어 있는 프로퍼티

protected int level
리턴 int

recordPlayer 보호되어 있는 프로퍼티

protected string recordPlayer
리턴 string

recordScore 보호되어 있는 프로퍼티

protected int recordScore
리턴 int

sBatch 보호되어 있는 프로퍼티

protected SpriteBatch sBatch
리턴 SpriteBatch

value 보호되어 있는 프로퍼티

protected int value
리턴 int