C# 클래스 UHSampleGame.ScreenManagement.Screen

파일 보기 프로젝트 열기: holtkampw/UH-Sample-XNA-Project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
name string
screenManager ScreenManager
status ScreenStatus

공개 메소드들

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

Function that contains code to draw the current screen state

ExitScreen ( ) : void
HandleInput ( InputManager input ) : void

Handles input logic

LoadContent ( ) : void
ResetRenderStates ( ) : void

Reset the render states so spritebatch and models render correctly

Screen ( string name ) : System

Constructor that creates a screen base class

SetStatus ( ScreenStatus status ) : void

Sets the current screen display status

UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Function that contains code that will update the screen

메소드 상세

Draw() 공개 메소드

Function that contains code to draw the current screen state
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Contains timer information
리턴 void

ExitScreen() 공개 메소드

public ExitScreen ( ) : void
리턴 void

HandleInput() 공개 메소드

Handles input logic
public HandleInput ( InputManager input ) : void
input UHSampleGame.InputManagement.InputManager The input manager for the game
리턴 void

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

ResetRenderStates() 공개 메소드

Reset the render states so spritebatch and models render correctly
public ResetRenderStates ( ) : void
리턴 void

Screen() 공개 메소드

Constructor that creates a screen base class
public Screen ( string name ) : System
name string This should be a unique way to identify each screen
리턴 System

SetStatus() 공개 메소드

Sets the current screen display status
public SetStatus ( ScreenStatus status ) : void
status ScreenStatus Current screen status
리턴 void

UnloadContent() 공개 메소드

public UnloadContent ( ) : void
리턴 void

Update() 공개 메소드

Function that contains code that will update the screen
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Contains timer information
리턴 void

프로퍼티 상세

name 보호되어 있는 프로퍼티

protected string name
리턴 string

screenManager 보호되어 있는 프로퍼티

protected ScreenManager,UHSampleGame.ScreenManagement screenManager
리턴 ScreenManager

status 보호되어 있는 프로퍼티

protected ScreenStatus status
리턴 ScreenStatus