C# 클래스 MyGame.LevelScreen

This class represent the Level Screen that is displayed at the beginning of each level showing the level number and waiting on input from the user to start the actual level.
상속: Screen
파일 보기 프로젝트 열기: mahmoudbahaa/XNA-Game-project 1 사용 예제들

공개 메소드들

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

This method renders the current state.

LevelScreen ( 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

LevelScreen() 공개 메소드

public LevelScreen ( 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