C# 클래스 EzGame.Input.Mouse

파일 보기 프로젝트 열기: CodeTreeCommunity/Shooter2D

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Holding ( Buttons Key ) : bool

Check if a mouse button is being held

Pressed ( Buttons Key ) : bool

Check if a mouse button has been pressed

Released ( Buttons Key ) : bool

Check if a mouse button has been released

ScrolledDown ( ) : bool
ScrolledUp ( ) : bool
Update ( ) : void

메소드 상세

Holding() 공개 정적인 메소드

Check if a mouse button is being held
public static Holding ( Buttons Key ) : bool
Key Buttons The mouse button to check.
리턴 bool

Pressed() 공개 정적인 메소드

Check if a mouse button has been pressed
public static Pressed ( Buttons Key ) : bool
Key Buttons The mouse button to check.
리턴 bool

Released() 공개 정적인 메소드

Check if a mouse button has been released
public static Released ( Buttons Key ) : bool
Key Buttons The mouse button to check.
리턴 bool

ScrolledDown() 공개 정적인 메소드

public static ScrolledDown ( ) : bool
리턴 bool

ScrolledUp() 공개 정적인 메소드

public static ScrolledUp ( ) : bool
리턴 bool

Update() 공개 정적인 메소드

public static Update ( ) : void
리턴 void

프로퍼티 상세

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

public static Vector2,Microsoft.Xna.Framework CameraPosition
리턴 Microsoft.Xna.Framework.Vector2