예제 #1
0
        public Builder(string firstname, string lastname, Town hometown)
            : base(firstname, lastname, hometown)
        {
            CurrentTask = BuilderTask.None;
            IsBig       = false;

            ObjectSprite = new TileEngine.Sprite(14, Position.X, Position.Y, 32, 32);

            //Workplace = workplace;

            Start();
        }
예제 #2
0
        public Woodcutter(string firstname, string lastname, Town hometown)
            : base(firstname, lastname, hometown)
        {
            CurrentState = WoodcutterState.Idle;
            CurrentTask  = WoodcutterTask.None;

            IsBig = false;

            ObjectSprite = new TileEngine.Sprite(3, Position.X, Position.Y, 32, 32);

            Start();
        }
예제 #3
0
        public Carrier(string firstname, string lastname, Town hometown, LumberMill workplace)
            : base(firstname, lastname, hometown)
        {
            CurrentTask = CarrierTask.None;
            IsBig       = false;

            ObjectSprite = new TileEngine.Sprite(11, Position.X, Position.Y, 32, 32);

            Workplace = workplace;

            Start();
        }