C# Class FistBump.Framework.ControlScheme

FistBump.ca - Copyright (C)
显示文件 Open project: fistbump/framework

Public Methods

Method Description
ControlScheme ( InputDevices inputDevice, string deviceName, float deadZone ) : System.Linq
GetAnyKeyDown ( string actionNames ) : bool
GetButtonDown ( string actionName ) : bool
XAxis ( bool ignoreDeadZone = false ) : float
YAxis ( bool ignoreDeadZone = false ) : float

Method Details

ControlScheme() public method

public ControlScheme ( InputDevices inputDevice, string deviceName, float deadZone ) : System.Linq
inputDevice InputDevices
deviceName string
deadZone float
return System.Linq

GetAnyKeyDown() public method

public GetAnyKeyDown ( string actionNames ) : bool
actionNames string
return bool

GetButtonDown() public method

public GetButtonDown ( string actionName ) : bool
actionName string
return bool

XAxis() public method

public XAxis ( bool ignoreDeadZone = false ) : float
ignoreDeadZone bool
return float

YAxis() public method

public YAxis ( bool ignoreDeadZone = false ) : float
ignoreDeadZone bool
return float