C# 클래스 MyGame.StartScreen

This class represent the Start(pause) Screen that show on startup and on pausing the game having options to start a new game,continue , go to help or credit screen or change the difficulty or exit
상속: Screen
파일 보기 프로젝트 열기: mahmoudbahaa/XNA-Game-project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Difficulty Constants.Difficulties
continueEnabled bool

공개 메소드들

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

This method renders the current state.

StartScreen ( MyGame game ) : System
Update ( GameTime gameTime ) : void

Allows the game component to update itself.

메소드 상세

Draw() 공개 메소드

This method renders the current state.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The elapsed game time.
리턴 void

StartScreen() 공개 메소드

public StartScreen ( MyGame game ) : System
game MyGame
리턴 System

Update() 공개 메소드

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void

프로퍼티 상세

Difficulty 공개적으로 정적으로 프로퍼티

public static Constants.Difficulties Difficulty
리턴 Constants.Difficulties

continueEnabled 공개적으로 정적으로 프로퍼티

public static bool continueEnabled
리턴 bool