Пример #1
0
 public override void Show()
 {
     if (this.MoveableObject != null)
     {
         MoveableObject.Show();
     }
     else
     {
         Console.Write("x");
     }
 }
Пример #2
0
 public override void Show()
 {
     if (this.MoveableObject != null)
     {
         MoveableObject.Show();
     }
     else
     {
         if (TimesWalkedOver >= 3)
         {
             Console.Write(" ");
         }
         else
         {
             Console.Write("~");
         }
     }
 }