C# 클래스 EzGame.Input.Keyboard

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

공개 메소드들

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

Check if a key on the keyboard is being held

Pressed ( Keys Key ) : bool

Check if a key on the keyboard has been pressed

Released ( Keys Key ) : bool

Check if a key on the keyboard has been released

Update ( GameTime Time ) : void

메소드 상세

Holding() 공개 정적인 메소드

Check if a key on the keyboard is being held
public static Holding ( Keys Key ) : bool
Key Keys The keyboard key to check.
리턴 bool

Pressed() 공개 정적인 메소드

Check if a key on the keyboard has been pressed
public static Pressed ( Keys Key ) : bool
Key Keys The keyboard key to check.
리턴 bool

Released() 공개 정적인 메소드

Check if a key on the keyboard has been released
public static Released ( Keys Key ) : bool
Key Keys The keyboard key to check.
리턴 bool

Update() 공개 정적인 메소드

public static Update ( GameTime Time ) : void
Time Microsoft.Xna.Framework.GameTime
리턴 void