示例#1
0
 /// <summary>
 /// Public method that makes this robot sneak.
 /// </summary>
 public void Sneak()
 {
     MessageOutputter.WriteLine($"SmallRobotV1 { PaintDescription ?? string.Empty } sneaking!");
 }
示例#2
0
 /// <summary>
 /// Public method that makes this robot move.
 /// </summary>
 public override void Move()
 {
     MessageOutputter.WriteLine($"SmallRobotV1 { PaintDescription ?? string.Empty } moving!");
 }
示例#3
0
 /// <summary>
 /// Public method that makes this robot crush.
 /// </summary>
 public void Crush()
 {
     MessageOutputter.WriteLine($"LargeRobotV2 { PaintDescription ?? string.Empty } crushing!");
 }
示例#4
0
 /// <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 }!");
 }
示例#5
0
 /// <summary>
 /// Public method that makes this robot speak.
 /// </summary>
 public override void Speak()
 {
     MessageOutputter.WriteLine($"LargeRobotV2 { PaintDescription ?? string.Empty } speaking!");
 }