C# 클래스 UHSampleGame.ScreenManagement.ScreenManager

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

공개 프로퍼티들

프로퍼티 타입 설명
Game Microsoft.Xna.Framework.Game
GraphicsDeviceManager GraphicsDeviceManager
InputManager UHSampleGame.InputManagement.InputManager
SpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

공개 메소드들

메소드 설명
AddScreen ( Screen screen ) : bool

Add as screen to the screen list

Draw ( GameTime gameTime ) : void
RemoveScreen ( Screen screen ) : bool

Remove an existing screen

RemoveScreen ( string screenName ) : bool

Remove an existing screen

ScreenManager ( Microsoft.Xna.Framework.Game game ) : System
ShowScreen ( Screen screen ) : bool

Show a screen

Update ( GameTime gameTime ) : void

메소드 상세

AddScreen() 공개 메소드

Add as screen to the screen list
public AddScreen ( Screen screen ) : bool
screen Screen Screen to add
리턴 bool

Draw() 공개 메소드

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

RemoveScreen() 공개 메소드

Remove an existing screen
public RemoveScreen ( Screen screen ) : bool
screen Screen Screen object to remove
리턴 bool

RemoveScreen() 공개 메소드

Remove an existing screen
public RemoveScreen ( string screenName ) : bool
screenName string The Unique Screen Identifier
리턴 bool

ScreenManager() 공개 메소드

public ScreenManager ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
리턴 System

ShowScreen() 공개 메소드

Show a screen
public ShowScreen ( Screen screen ) : bool
screen Screen Screen to show
리턴 bool

Update() 공개 메소드

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

프로퍼티 상세

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

public static Game,Microsoft.Xna.Framework Game
리턴 Microsoft.Xna.Framework.Game

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

public static GraphicsDeviceManager GraphicsDeviceManager
리턴 GraphicsDeviceManager

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

public static InputManager,UHSampleGame.InputManagement InputManager
리턴 UHSampleGame.InputManagement.InputManager

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

public static SpriteBatch,Microsoft.Xna.Framework.Graphics SpriteBatch
리턴 Microsoft.Xna.Framework.Graphics.SpriteBatch