private static IResourceDepositData CreateStartResourceData()
        {
            var items = new[]
            {
                new ResourceDepositDataItem(SectorResourceType.CherryBrushes, START_RESOURCE_SHARE)
            };
            var data = new ResourceDepositData(items);

            return(data);
        }
Beispiel #2
0
        private IResourceDepositData CalcCurrentResouceData(ISectorNode sectorNode)
        {
            var neighborNodes = sectorNode.Biome.GetNext(sectorNode);
            var items         = CalcAverageResourceByNeightbors(neighborNodes);

            items = AddNewResourceIfNeed(items);

            var data = new ResourceDepositData(items);

            return(data);
        }