C# Class EssenceShared.Input

Mostrar archivo Open project: Insality/essence-of-shadows

Public Methods

Method Description
IsKeyIn ( CCKeys key ) : bool
IsMousePressed ( CCMouseButton mouse ) : bool
OnKeyPress ( CCKeys key ) : void
OnKeyRelease ( CCKeys key ) : void
OnMousePress ( CCMouseButton mouse ) : void
OnMouseRelease ( CCMouseButton mouse ) : void

Method Details

IsKeyIn() public static method

public static IsKeyIn ( CCKeys key ) : bool
key CCKeys
return bool

IsMousePressed() public static method

public static IsMousePressed ( CCMouseButton mouse ) : bool
mouse CCMouseButton
return bool

OnKeyPress() public static method

public static OnKeyPress ( CCKeys key ) : void
key CCKeys
return void

OnKeyRelease() public static method

public static OnKeyRelease ( CCKeys key ) : void
key CCKeys
return void

OnMousePress() public static method

public static OnMousePress ( CCMouseButton mouse ) : void
mouse CCMouseButton
return void

OnMouseRelease() public static method

public static OnMouseRelease ( CCMouseButton mouse ) : void
mouse CCMouseButton
return void