public BlockShapeMeshProvider(IBlockMeshBuilder meshBuilder,
                               IBlockShapeTextureProvider shapeTextureProvider)
 {
     _meshBuilder          = meshBuilder;
     _shapeTextureProvider = shapeTextureProvider;
     _shapes = new Dictionary <EBlockShapeType, Mesh>();
 }
Пример #2
0
 public BlockJoinController(IBlockShapeUtil shapeUtil,
                            ILevelModel levelModel,
                            IBlockModelStorage blockStorage,
                            IBlockShapeTextureProvider shapeTextureProvider,
                            IAudioController audioController)
 {
     _shapeUtil            = shapeUtil;
     _levelModel           = levelModel;
     _blockStorage         = blockStorage;
     _shapeTextureProvider = shapeTextureProvider;
     _audioController      = audioController;
 }