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

파일 보기 프로젝트 열기: tinco/Farseer-Physics 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Cursor Microsoft.Xna.Framework.Vector2

공개 메소드들

메소드 설명
Draw ( ) : void
Draw ( SpriteBatch batch ) : void
InputHelper ( ) : FarseerPhysics.Samples.MediaSystem

Constructs a new input state.

InputHelper ( ScreenManager manager ) : System.Collections.Generic

Constructs a new input state.

IsMenuCancel ( ) : bool

Checks for a "menu cancel" input action.

IsMenuDown ( ) : bool
IsMenuHold ( ) : bool
IsMenuPressed ( ) : bool
IsMenuRelease ( ) : bool
IsMenuReleased ( ) : bool
IsMenuSelect ( ) : bool

Checks for a "menu select" input action.

IsMenuUp ( ) : bool
IsNewButtonPress ( Buttons button ) : bool

Helper for checking if a button was newly pressed during this update.

IsNewButtonRelease ( Buttons button ) : bool
IsNewKeyPress ( Keys key ) : bool

Helper for checking if a key was newly pressed during this update.

IsNewKeyRelease ( Keys key ) : bool
IsNewMouseButtonPress ( MouseButtons button ) : bool

Helper for checking if a mouse button was newly pressed during this update.

IsNewMouseButtonRelease ( MouseButtons button ) : bool

Checks if the requested mouse button is released.

IsNewScrollWheelDown ( ) : bool

Checks if the mouse wheel has been scrolled down

IsNewScrollWheelUp ( ) : bool

Checks if the mouse wheel has been scrolled up

IsScreenExit ( ) : bool
LoadContent ( ) : void
LoadContent ( Viewport viewport ) : void
Update ( GameTime gameTime ) : void

Reads the latest state of the keyboard and gamepad and mouse/touchpad.

비공개 메소드들

메소드 설명
HandleVirtualStickWP7 ( ) : GamePadState
HandleVirtualStickWin ( ) : GamePadState

메소드 상세

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

InputHelper() 공개 메소드

Constructs a new input state.
public InputHelper ( ) : FarseerPhysics.Samples.MediaSystem
리턴 FarseerPhysics.Samples.MediaSystem

InputHelper() 공개 메소드

Constructs a new input state.
public InputHelper ( ScreenManager manager ) : System.Collections.Generic
manager ScreenManager
리턴 System.Collections.Generic

IsMenuCancel() 공개 메소드

Checks for a "menu cancel" input action.
public IsMenuCancel ( ) : bool
리턴 bool

IsMenuDown() 공개 메소드

public IsMenuDown ( ) : bool
리턴 bool

IsMenuHold() 공개 메소드

public IsMenuHold ( ) : bool
리턴 bool

IsMenuPressed() 공개 메소드

public IsMenuPressed ( ) : bool
리턴 bool

IsMenuRelease() 공개 메소드

public IsMenuRelease ( ) : bool
리턴 bool

IsMenuReleased() 공개 메소드

public IsMenuReleased ( ) : bool
리턴 bool

IsMenuSelect() 공개 메소드

Checks for a "menu select" input action.
public IsMenuSelect ( ) : bool
리턴 bool

IsMenuUp() 공개 메소드

public IsMenuUp ( ) : bool
리턴 bool

IsNewButtonPress() 공개 메소드

Helper for checking if a button was newly pressed during this update.
public IsNewButtonPress ( Buttons button ) : bool
button Buttons
리턴 bool

IsNewButtonRelease() 공개 메소드

public IsNewButtonRelease ( Buttons button ) : bool
button Buttons
리턴 bool

IsNewKeyPress() 공개 메소드

Helper for checking if a key was newly pressed during this update.
public IsNewKeyPress ( Keys key ) : bool
key Keys
리턴 bool

IsNewKeyRelease() 공개 메소드

public IsNewKeyRelease ( Keys key ) : bool
key Keys
리턴 bool

IsNewMouseButtonPress() 공개 메소드

Helper for checking if a mouse button was newly pressed during this update.
public IsNewMouseButtonPress ( MouseButtons button ) : bool
button MouseButtons
리턴 bool

IsNewMouseButtonRelease() 공개 메소드

Checks if the requested mouse button is released.
public IsNewMouseButtonRelease ( MouseButtons button ) : bool
button MouseButtons The button.
리턴 bool

IsNewScrollWheelDown() 공개 메소드

Checks if the mouse wheel has been scrolled down
public IsNewScrollWheelDown ( ) : bool
리턴 bool

IsNewScrollWheelUp() 공개 메소드

Checks if the mouse wheel has been scrolled up
public IsNewScrollWheelUp ( ) : bool
리턴 bool

IsScreenExit() 공개 메소드

public IsScreenExit ( ) : bool
리턴 bool

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

LoadContent() 공개 메소드

public LoadContent ( Viewport viewport ) : void
viewport Microsoft.Xna.Framework.Graphics.Viewport
리턴 void

Update() 공개 메소드

Reads the latest state of the keyboard and gamepad and mouse/touchpad.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

Cursor 공개적으로 프로퍼티

public Vector2,Microsoft.Xna.Framework Cursor
리턴 Microsoft.Xna.Framework.Vector2