C# Class Rover.MovementCommand

Inheritance: ICommand
Mostra file Open project: jpadillak/Concordia_Capstone2013-14 Class Usage Examples

Public Methods

Method Description
Execute ( ) : void
MovementCommand ( string unparsedText ) : System
UnExecute ( ) : void

Private Methods

Method Description
CreateMessage ( ) : string
IsValidIdentifier ( string text ) : bool
ParseLeftDirection ( string text ) : string
ParseLeftSpeed ( string text ) : int
ParseRightDirection ( string text ) : string
ParseRightSpeed ( string text ) : int
ReverseDirection ( string direction ) : string
SendMessage ( string message ) : void

Method Details

Execute() public method

public Execute ( ) : void
return void

MovementCommand() public method

public MovementCommand ( string unparsedText ) : System
unparsedText string
return System

UnExecute() public method

public UnExecute ( ) : void
return void