C# 클래스 Project2.Project2Game

상속: Game
파일 보기 프로젝트 열기: nuclearpidgeon/graphicsproj2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
debugDrawer DebugDrawer
level Project2.GameObjects.Level
models Model>.Dictionary
mouseState SharpDX.Toolkit.Input.MouseState

공개 메소드들

메소드 설명
OnHolding ( GestureRecognizer sender, HoldingEventArgs args ) : void
OnManipulationCompleted ( GestureRecognizer sender, ManipulationCompletedEventArgs args ) : void
OnManipulationStarted ( GestureRecognizer sender, ManipulationStartedEventArgs args ) : void
OnManipulationUpdated ( GestureRecognizer sender, ManipulationUpdatedEventArgs args ) : void
Project2Game ( LevelSelection levelSelection ) : System

Initializes a new instance of the Project2Game class.

Tapped ( GestureRecognizer sender, TappedEventArgs args ) : void
incScore ( int x ) : void
isPaused ( ) : bool
restartGame ( ) : void
togglePaused ( ) : void

보호된 메소드들

메소드 설명
Draw ( SharpDX.Toolkit.GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
OnExiting ( object sender, EventArgs args ) : void

Use this method body to do stuff while the game is exiting.

Update ( SharpDX.Toolkit.GameTime gameTime ) : void

비공개 메소드들

메소드 설명
OnDeviceCreated ( object sender, EventArgs e ) : void

When the virtual graphics device is created, we need to grab its viewport dimensions to pass into the graphicsManager's PreferredBackBuffer Width and Height variables. This data is not available until the device has been initialised.

TestPause ( ) : void

메소드 상세

Draw() 보호된 메소드

protected Draw ( SharpDX.Toolkit.GameTime gameTime ) : void
gameTime SharpDX.Toolkit.GameTime
리턴 void

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

OnExiting() 보호된 메소드

Use this method body to do stuff while the game is exiting.
protected OnExiting ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
리턴 void

OnHolding() 공개 메소드

public OnHolding ( GestureRecognizer sender, HoldingEventArgs args ) : void
sender Windows.UI.Input.GestureRecognizer
args Windows.UI.Input.HoldingEventArgs
리턴 void

OnManipulationCompleted() 공개 메소드

public OnManipulationCompleted ( GestureRecognizer sender, ManipulationCompletedEventArgs args ) : void
sender Windows.UI.Input.GestureRecognizer
args Windows.UI.Input.ManipulationCompletedEventArgs
리턴 void

OnManipulationStarted() 공개 메소드

public OnManipulationStarted ( GestureRecognizer sender, ManipulationStartedEventArgs args ) : void
sender Windows.UI.Input.GestureRecognizer
args Windows.UI.Input.ManipulationStartedEventArgs
리턴 void

OnManipulationUpdated() 공개 메소드

public OnManipulationUpdated ( GestureRecognizer sender, ManipulationUpdatedEventArgs args ) : void
sender Windows.UI.Input.GestureRecognizer
args Windows.UI.Input.ManipulationUpdatedEventArgs
리턴 void

Project2Game() 공개 메소드

Initializes a new instance of the Project2Game class.
public Project2Game ( LevelSelection levelSelection ) : System
levelSelection LevelSelection
리턴 System

Tapped() 공개 메소드

public Tapped ( GestureRecognizer sender, TappedEventArgs args ) : void
sender Windows.UI.Input.GestureRecognizer
args Windows.UI.Input.TappedEventArgs
리턴 void

Update() 보호된 메소드

protected Update ( SharpDX.Toolkit.GameTime gameTime ) : void
gameTime SharpDX.Toolkit.GameTime
리턴 void

incScore() 공개 메소드

public incScore ( int x ) : void
x int
리턴 void

isPaused() 공개 메소드

public isPaused ( ) : bool
리턴 bool

restartGame() 공개 메소드

public restartGame ( ) : void
리턴 void

togglePaused() 공개 메소드

public togglePaused ( ) : void
리턴 void

프로퍼티 상세

debugDrawer 공개적으로 프로퍼티

public DebugDrawer,Project2 debugDrawer
리턴 DebugDrawer

level 공개적으로 프로퍼티

public Level,Project2.GameObjects level
리턴 Project2.GameObjects.Level

models 공개적으로 프로퍼티

public Dictionary models
리턴 Model>.Dictionary

mouseState 공개적으로 프로퍼티

public MouseState,SharpDX.Toolkit.Input mouseState
리턴 SharpDX.Toolkit.Input.MouseState