Professional Documents
Culture Documents
Robot Movement Console Printer
Robot Movement Console Printer
Robot Movement Console Printer
using System;
using RumbaMumbaRobots.Robot;
#endregion
namespace RumbaMumbaRobots.Printing
{
/// <summary>
/// Print the movement robot to console. We will be using dependency inversion
principle to inject the dependency needed.
/// </summary>
public class RobotMovementConsolePrinter : RobotMovementPrinter
{
#region Methods
/// <summary>
///
/// </summary>
public override void Print(string value)
{
//Print to the console
Console.WriteLine(string.Format(value));
}
#endregion
}
}