示例#1
0
        public bool Work()
        {
            bool working = Transfers.Active > 0;

            Transfers.Work();

            var l = new List <Tile>();

            Quad.QueryRange(l, Range);

            foreach (var t in l)
            {
                if (t.State != TileState.Empty)
                {
                    continue;
                }
                Transfers.Queue(t);
                working = true;
            }
            return(working);
        }