C# Class Rover.Commands.MovementCommand

Inheritance: ICommand
Datei anzeigen Open project: jpadillak/Concordia_Capstone2013-14

Public Methods

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

Private Methods

Method Description
CreateMessage ( ) : string
IsValidIdentifier ( string text ) : bool
ParseDirection ( string text, int motorIndex ) : string
ParseMotorSide ( string text ) : string
ParseSpeed ( string text, int motorIndex ) : 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