C# 클래스 FarseerPhysics.Samples.FarseerPhysicsSamples

This is the main type for the samples
상속: Microsoft.Xna.Framework.Game
파일 보기 프로젝트 열기: tinco/Farseer-Physics 1 사용 예제들

공개 메소드들

메소드 설명
AddScreen ( GameScreen screen ) : void

Adds a new screen to the screen manager.

ExitGame ( ) : void
FarseerPhysicsSamples ( ) : System
RemoveScreen ( GameScreen screen ) : void

Removes a screen from the screen manager. You should normally use GameScreen.ExitScreen instead of calling this directly, so the screen can gradually transition off rather than just being instantly removed.

보호된 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Allows each screen to run logic.

메소드 상세

AddScreen() 공개 메소드

Adds a new screen to the screen manager.
public AddScreen ( GameScreen screen ) : void
screen FarseerPhysics.Samples.ScreenSystem.GameScreen
리턴 void

Draw() 보호된 메소드

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

ExitGame() 공개 메소드

public ExitGame ( ) : void
리턴 void

FarseerPhysicsSamples() 공개 메소드

public FarseerPhysicsSamples ( ) : System
리턴 System

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

RemoveScreen() 공개 메소드

Removes a screen from the screen manager. You should normally use GameScreen.ExitScreen instead of calling this directly, so the screen can gradually transition off rather than just being instantly removed.
public RemoveScreen ( GameScreen screen ) : void
screen FarseerPhysics.Samples.ScreenSystem.GameScreen
리턴 void

UnloadContent() 보호된 메소드

protected UnloadContent ( ) : void
리턴 void

Update() 보호된 메소드

Allows each screen to run logic.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void