C# 클래스 Indiefreaks.Xna.Input.PlayerInput

PlayerInput is a class that stores the current player's input state
It provides automatic input device plug-in/out management through the Connected and Disconnected events
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
AddVibration ( Vibration vibration ) : void

Add a vibration to the player input controller

AddVibration ( Vibration targetMotor, float frequency, float duration ) : void

Add a vibration to the player input controller

AddVibration ( Vibration targetMotor, float frequency, float duration, float>.Func modifier ) : void

Add a vibration to the player input controller

Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
CheckConnectionStatus ( ) : void
PlayerInput ( PlayerIndex index ) : System
SetKms ( InputManager inputManager ) : void
SetTouches ( InputManager inputManager ) : void
UpdateState ( long tick, GamePadState gamePadState ) : void
UpdateState ( long tick, GamePadState gamePadState, List touches, TouchMapping mapping ) : void
UpdateState ( long tick, KeyboardMouseState keyboardMouseState, KeyboardMouseMapping mapping ) : void
UpdateVibration ( long ticks ) : void

메소드 상세

AddVibration() 공개 메소드

Add a vibration to the player input controller
public AddVibration ( Vibration vibration ) : void
vibration Vibration The vibration
리턴 void

AddVibration() 공개 메소드

Add a vibration to the player input controller
public AddVibration ( Vibration targetMotor, float frequency, float duration ) : void
targetMotor Vibration The target motor
frequency float The motor frequency.
duration float The duration of the vibration
리턴 void

AddVibration() 공개 메소드

Add a vibration to the player input controller
public AddVibration ( Vibration targetMotor, float frequency, float duration, float>.Func modifier ) : void
targetMotor Vibration The target motor
frequency float The motor frequency.
duration float The duration of the vibration
modifier float>.Func Frequency modifier delegate
리턴 void

Update() 공개 메소드

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