Ejemplo n.º 1
0
 public FieldElement(IGameSettings gameSettings, GameField field, Tile.Factory tileFactory, Crystal.Factory crystalFactory)
 {
     _field          = field;
     _gameSettings   = gameSettings;
     _tileFactory    = tileFactory;
     _crystalFactory = crystalFactory;
 }
Ejemplo n.º 2
0
    public TrackBuilder(Tile.Factory tileFactory,
                        RandomTileFactory.RTFSettings RTFsettings,
                        TrackBuilderSettings TBsettings,
                        BuilderFactory SPFactory)
    {
        _settings            = TBsettings;
        _tileFactory         = tileFactory;
        _factorySettings     = RTFsettings;
        _spawnPatternFactory = SPFactory;

        _tiles = new LinkedList <Tile>();
    }
Ejemplo n.º 3
0
    public ChunkTrackBuilder(Tile.Factory tileFactory,
                             RandomTileFactory.RTFSettings RTFsettings,
                             ChunkTrackBuilderSettings settings,
                             ImplBuilderFactory.Settings OFsettings,
                             BuilderFactory spawnPatternFactory)
    {
        _settings = settings;

        _tileFactory         = tileFactory;
        _tileFactorySettings = RTFsettings;

        _spawnPatternFactory     = spawnPatternFactory;
        _obstacleFactorySettings = OFsettings;

        _tiles = new LinkedList <Tile>();
    }
Ejemplo n.º 4
0
 public TilesPool(Tile.Factory pool)
 {
     _tileFactory = pool;
 }