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