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