Пример #1
0
 public WorldObjectPlaceTool(IXNAGame _game, World _world, SimpleMeshRenderer _renderer, TileSnapInformationBuilder _builder, IMeshFactory meshFactory, ITileFaceTypeFactory tileFaceTypeFactory)
 {
     game                     = _game;
     World                    = _world;
     renderer                 = _renderer;
     builder                  = _builder;
     this.meshFactory         = meshFactory;
     this.tileFaceTypeFactory = tileFaceTypeFactory;
     worldTileSnapper         = new WorldTileSnapper(builder);
 }
 public DiskTileDataFactory(IMeshFactory meshFactory, ITileFaceTypeFactory tileFaceTypeFactory)
 {
     this.meshFactory         = meshFactory;
     this.tileFaceTypeFactory = tileFaceTypeFactory;
 }