예제 #1
0
        private async Task LoadAsync()
        {
            _tsgProvider = await TileSetGraphicsProvider.CreateFromTileSet(IoC.Get <IGameEngineResourceResolver>(), _rawTileSet.Name);

            for (int i = 0; i < _pickAnyUnits.Length; i++)
            {
                _pickAnyUnits[i] = await _tsgProvider.CreatePickAnyUnit(i);
            }
        }
예제 #2
0
 private async Task LoadAsync()
 {
     _tsgProvider = await TileSetGraphicsProvider.CreateFromTileSet(IoC.Get<IGameEngineResourceResolver>(), _rawTileSet.Name);
     for (int i = 0; i < _pickAnyUnits.Length; i++)
         _pickAnyUnits[i] = await _tsgProvider.CreatePickAnyUnit(i);
 }