Esempio n. 1
0
 public override void Action(Mummy m)
 {
     m.AddTask(transform.position, Task.action.FURNACE, this);
 }
Esempio n. 2
0
 /*
  * This function adds a task to the mummy.
  * The function is called automaticly.
  * input:
  * Mummy m - the mummy that perform the action.
  */
 public override void Action(Mummy m)
 {
     m.AddTask(transform.position, Task.action.WAKE_THE_DEAD, this);
 }
Esempio n. 3
0
 public override void Action(Mummy m)
 {
     Debug.Log("GO TO THE DEAD");
     m.AddTask(transform.position, Task.action.WAKE_THE_DEAD, this);
 }
Esempio n. 4
0
 public override void Action(Mummy m)
 {
     m.AddTask(transform.position, Task.action.WOOD);
 }