public override void Enter(Miner miner) { if (miner.Location() != LocationType.Goldmine) { Debug.Log("矿工:走去金矿"); miner.ChangeLocation(LocationType.Goldmine); } }
public void Enter(Miner miner) { if (miner.Location != Location.Shack) { miner.Speak("Walkin' home"); miner.ChangeLocation(Location.Shack); } }
public void Enter(Miner miner) { if (miner.Location != Location.Goldmine) { miner.Speak("Walkin' to the goldmine"); miner.ChangeLocation(Location.Goldmine); } }
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); } }
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); } }
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); } }
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); } }
public override void Enter(Miner miner) { if (miner.Location() == LocationType.Shack) { return; } Debug.Log("矿工:走去小木屋"); miner.ChangeLocation(LocationType.Shack); }
public override void Enter(Miner miner) { if (miner.Location() == LocationType.Saloon) { return; } Debug.Log("矿工:走去酒吧"); miner.ChangeLocation(LocationType.Saloon); }