Пример #1
0
 public override void INIT(int id)
 {
     base.INIT(id);
     iGold         = 0;
     iThirst       = 10;
     iTired        = 10;
     iBankMoney    = 0;
     eLocation     = MAGADATA.LocationType.HOME;
     mStateMachine = new StateMachine <Miner>(this);
     mStateMachine.SetCurrentState(StateHome.Instance());
     mStateMachine.SetGlobalState(StateGlobal.Instance());
 }
Пример #2
0
 public void SetLocation(MAGADATA.LocationType o)
 {
     eLocation = o;
 }