C# 클래스 FarseerPhysics.Samples.ScreenSystem.LogoScreen

상속: GameScreen
파일 보기 프로젝트 열기: tinco/Farseer-Physics

공개 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void
HandleInput ( InputHelper input, GameTime gameTime ) : void
LoadContent ( ) : void

Loads graphics content for this screen. The background texture is quite big, so we use our own local ContentManager to load it. This allows us to unload before going from the menus into the game itself, wheras if we used the shared ContentManager provided by the Game class, the content would remain loaded forever.

LogoScreen ( System.TimeSpan duration ) : System
UnloadContent ( ) : void

Unloads graphics content for this screen.

Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void

메소드 상세

Draw() 공개 메소드

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

HandleInput() 공개 메소드

public HandleInput ( InputHelper input, GameTime gameTime ) : void
input InputHelper
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

LoadContent() 공개 메소드

Loads graphics content for this screen. The background texture is quite big, so we use our own local ContentManager to load it. This allows us to unload before going from the menus into the game itself, wheras if we used the shared ContentManager provided by the Game class, the content would remain loaded forever.
public LoadContent ( ) : void
리턴 void

LogoScreen() 공개 메소드

public LogoScreen ( System.TimeSpan duration ) : System
duration System.TimeSpan
리턴 System

UnloadContent() 공개 메소드

Unloads graphics content for this screen.
public UnloadContent ( ) : void
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void
gameTime Microsoft.Xna.Framework.GameTime
otherScreenHasFocus bool
coveredByOtherScreen bool
리턴 void