public MinersWife(int entity_type) : base(entity_type, (int)EntityName.ent_Elsa) { m_Location = location_type.shack; m_bCooking = false; //set up the state machine m_pStateMachine = new StateMachine(this); m_pStateMachine.CurrentState = new DoHouseWork(); m_pStateMachine.GlobalState = new WifesGlobalState(); }
public BarFlyJoe(int entity_type) : base(entity_type, (int)EntityName.ent_BarFly) { m_Location = location_type.saloon; m_iDrunkeness = 0; m_iHP = HPFull; m_angered = false; //set up the state machine m_pStateMachine = new StateMachine(this); m_pStateMachine.CurrentState = new JoeDoChillin(); /* NOTE, A GLOBAL STATE HAS NOT BEEN IMPLEMENTED FOR THE BarFly */ }
public Miner(int entity_type) : base(entity_type, (int)EntityName.ent_Miner_Bob) { m_Location = location_type.shack; m_iGoldCarried = 0; m_iMoneyInBank = 0; m_iThirst = 0; m_iFatigue = 0; m_iHP = HPFull; //set up the state machine m_pStateMachine = new StateMachine(this); m_pStateMachine.CurrentState = new GoHomeAndSleepTilRested(); m_pStateMachine.GlobalState = new BobsGlobalState(); }