C# Class Dwarrowdelf.Client.KeyHelpers

显示文件 Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

Method Description
KeyIsControl ( Key key ) : bool
KeyIsDir ( Key key ) : bool
KeyIsShift ( Key key ) : bool
KeyToDir ( Key key ) : Direction

Method Details

KeyIsControl() public static method

public static KeyIsControl ( Key key ) : bool
key Key
return bool

KeyIsDir() public static method

public static KeyIsDir ( Key key ) : bool
key Key
return bool

KeyIsShift() public static method

public static KeyIsShift ( Key key ) : bool
key Key
return bool

KeyToDir() public static method

public static KeyToDir ( Key key ) : Direction
key Key
return Direction