Robot Movement Console Printer

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

#region Using Directives

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
}
}

You might also like