C# Class Rover.Commands.MovementCommand

Inheritance: ICommand
Afficher le fichier Open project: jpadillak/Concordia_Capstone2013-14

Méthodes publiques

Méthode Description
Execute ( ) : void
MovementCommand ( string unparsedText ) : System
UnExecute ( ) : void

Private Methods

Méthode 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 méthode

public Execute ( ) : void
Résultat void

MovementCommand() public méthode

public MovementCommand ( string unparsedText ) : System
unparsedText string
Résultat System

UnExecute() public méthode

public UnExecute ( ) : void
Résultat void