/// <summary> /// Public method that makes this robot sneak. /// </summary> public void Sneak() { MessageOutputter.WriteLine($"SmallRobotV1 { PaintDescription ?? string.Empty } sneaking!"); }
/// <summary> /// Public method that makes this robot move. /// </summary> public override void Move() { MessageOutputter.WriteLine($"SmallRobotV1 { PaintDescription ?? string.Empty } moving!"); }
/// <summary> /// Public method that makes this robot crush. /// </summary> public void Crush() { MessageOutputter.WriteLine($"LargeRobotV2 { PaintDescription ?? string.Empty } crushing!"); }
/// <summary> /// Public method that makes this robot attack. /// </summary> public override void Attack() { MessageOutputter.WriteLine($"SmallRobotV1 { PaintDescription ?? string.Empty } attacking with a { WeaponDescription ?? string.Empty }!"); }
/// <summary> /// Public method that makes this robot speak. /// </summary> public override void Speak() { MessageOutputter.WriteLine($"LargeRobotV2 { PaintDescription ?? string.Empty } speaking!"); }