Пример #1
0
 public void Feed(Object sender, EventTammagochi e)
 {
     if (e.Move != Move.Feed)
     {
         return;
     }
     Action("   I am hungry!!!\n      Feed him?");
 }
Пример #2
0
 public void Play(Object sender, EventTammagochi e)
 {
     if (e.Move != Move.Play)
     {
         return;
     }
     Action("   I want to Play!!\n    Play with him?");
 }
Пример #3
0
 public void Walk(Object sender, EventTammagochi e)
 {
     if (e.Move != Move.Walk)
     {
         return;
     }
     Action("   I want to Walk!!!\n    Walk with him?");
 }
Пример #4
0
 public void Sleep(Object sender, EventTammagochi e)
 {
     if (e.Move != Move.Sleep)
     {
         return;
     }
     Action("I want to sleep!!!\n    Put to sleep ? ");
 }
Пример #5
0
 public void Theat(Object sender, EventTammagochi e)
 {
     if (e.Move != Move.Treat)
     {
         return;
     }
     Action("    I'm sick!!!\n    Treat him?");
     life = 4;
 }