C# Class Sharplike.Core.Input.CommandData

A command, as is given to the game loop for processing.
Exibir arquivo Open project: eropple/sharplike Class Usage Examples

Public Properties

Property Type Description
Command String
IsMouseEvent System.Boolean

Public Methods

Method Description
CommandData ( String command ) : System
CommandData ( String command, System.Boolean isMouseEvent ) : System
ToString ( ) : string

Method Details

CommandData() public method

public CommandData ( String command ) : System
command String
return System

CommandData() public method

public CommandData ( String command, System.Boolean isMouseEvent ) : System
command String
isMouseEvent System.Boolean
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

Command public_oe property

The invoked command.
public String Command
return String

IsMouseEvent public_oe property

Set to True if the command is a valid mouse event. If False, ScreenCoordinates and TileCoordinates will not hold meaningful data.
public Boolean,System IsMouseEvent
return System.Boolean