Exemple #1
0
 private LodEntitySplat(MapAreaPosition position, IEntityLodResolver entityLodResolver,
                        IEntitySplatGenerator splatGenerator,
                        int entityLodLevel, IEntitySplat newSplat, IEntitySplatUpdater splatUpdater) : this(position,
                                                                                                            entityLodResolver, splatGenerator, splatUpdater)
 {
     this._splat          = newSplat;
     this._entityLodLevel = entityLodLevel;
 }
        public LodEntitySplat(MapAreaPosition position, IEntityLodResolver entityLodResolver, IEntitySplatGenerator splatGenerator, int entityLodLevel)
        {
            this._position          = position;
            this._entityLodResolver = entityLodResolver;
            this._splatGenerator    = splatGenerator;
            this._entityLodLevel    = entityLodLevel;

            _splat = splatGenerator.GenerateSplat(position, entityLodLevel);
        }
Exemple #3
0
 public LodEntitySplat(MapAreaPosition position, IEntityLodResolver entityLodResolver,
                       IEntitySplatGenerator splatGenerator, IEntitySplatUpdater splatUpdater)
 {
     this._position          = position;
     this._entityLodResolver = entityLodResolver;
     this._splatGenerator    = splatGenerator;
     _splatUpdater           = splatUpdater;
     _referencesCount        = 1;
 }