public Wife(int id, string name, Random Rand, Miner miner) : base(id, name) { rand = Rand; w_husband = miner; w_iRich = 4 + rand.Next(6); w_Location = wife_location_type.bath; w_StateMachine = new StateMachine <Wife>(this); w_StateMachine.SetCurrentState(GoBath.Instance()); w_StateMachine.SetGlobalState(WifesGlobalState.Instance()); }
public void ChangeLocation(wife_location_type NewLocation) { w_Location = NewLocation; }