C# Class Sharplike.Core.Input.CommandData

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

Méthodes publiques

Свойство Type Description
Command String
IsMouseEvent System.Boolean

Méthodes publiques

Méthode Description
CommandData ( String command ) : System
CommandData ( String command, System.Boolean isMouseEvent ) : System
ToString ( ) : string

Method Details

CommandData() public méthode

public CommandData ( String command ) : System
command String
Résultat System

CommandData() public méthode

public CommandData ( String command, System.Boolean isMouseEvent ) : System
command String
isMouseEvent System.Boolean
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Command public_oe property

The invoked command.
public String Command
Résultat 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
Résultat System.Boolean