Ejemplo n.º 1
0
 public override void Enter(Miner miner)
 {
     if (miner.Location() != LocationType.Goldmine)
     {
         Debug.Log("矿工:走去金矿");
         miner.ChangeLocation(LocationType.Goldmine);
     }
 }
Ejemplo n.º 2
0
 public void Enter(Miner miner)
 {
     if (miner.Location != Location.Shack)
     {
         miner.Speak("Walkin' home");
         miner.ChangeLocation(Location.Shack);
     }
 }
Ejemplo n.º 3
0
 public void Enter(Miner miner)
 {
     if (miner.Location != Location.Goldmine)
     {
         miner.Speak("Walkin' to the goldmine");
         miner.ChangeLocation(Location.Goldmine);
     }
 }
Ejemplo n.º 4
0
 public void Enter(Miner miner)
 {
     if (miner.Location != Location.Saloon)
     {
         miner.ChangeLocation(Location.Saloon);
         miner.Speak("Boy, ah sure is thusty! Walking to the saloon");
     }
 }
 public void Enter(Miner miner)
 {
     if (miner.Location != Location.Bank)
     {
         miner.Speak("Goin' to the bank. Yes siree");
         miner.ChangeLocation(Location.Bank);
     }
 }
Ejemplo n.º 6
0
 public override void Enter(Miner miner)
 {
     //On entry the miner makes sure he is located at the bank
     if (miner.location != LocationType.BANK)
     {
         Debug.Log(miner.ID + " Goin' to the bank. Yes sireee!");
         miner.ChangeLocation(LocationType.BANK);
     }
 }
Ejemplo n.º 7
0
 public override void Enter(Miner miner)
 {
     //If the miner is not already located at the gold mine, he must change location to the gold mine.
     if (miner.location != LocationType.GOLDMINE)
     {
         Debug.Log(miner.ID + " Walkin' to the gold mine");
         miner.ChangeLocation(LocationType.GOLDMINE);
     }
 }
 public override void Enter(Miner miner)
 {
     //On entry the miner makes sure he is located at home
     if (miner.location != LocationType.SHACK)
     {
         Debug.Log(miner.ID + " Walkin home");
         miner.ChangeLocation(LocationType.SHACK);
     }
 }
Ejemplo n.º 9
0
 public override void Enter(Miner miner)
 {
     //On entry the miner makes sure he is located at saloon
     if (miner.location != LocationType.SALOON)
     {
         Debug.Log(miner.ID + " Boy, ah sure is thusty! Walkin to the saloon");
         miner.ChangeLocation(LocationType.SALOON);
     }
 }
Ejemplo n.º 10
0
    public override void Enter(Miner miner)
    {
        if (miner.Location() == LocationType.Shack)
        {
            return;
        }

        Debug.Log("矿工:走去小木屋");
        miner.ChangeLocation(LocationType.Shack);
    }
Ejemplo n.º 11
0
    public override void Enter(Miner miner)
    {
        if (miner.Location() == LocationType.Saloon)
        {
            return;
        }

        Debug.Log("矿工:走去酒吧");
        miner.ChangeLocation(LocationType.Saloon);
    }