예제 #1
0
 public FieldObjectSwapper(IMatrixStorageSwappable <IGameObjectable> fieldMatrix, FieldProperties fieldProperties, ICoroutinePlayer coroutinePlayer, float swapDuration)
 {
     this.fieldMatrix     = fieldMatrix;
     this.fieldProperties = fieldProperties;
     this.coroutinePlayer = coroutinePlayer;
     this.swapDuration    = swapDuration;
 }
예제 #2
0
 public FieldUpdater(IMatrixStorageSwappable <IGameObjectable> fieldMatrix, ICombinationsFinder combinationsFinder, IFieldObjectCreator fieldObjectCreator,
                     IFieldObjectRemover fieldObjectRemover, ICoroutinePlayer coroutinePlayer, FieldProperties fieldProperties, float fieldObjectFallingStartSpeed, float fieldObjectFallingVelocity)
 {
     this.fieldMatrix                  = fieldMatrix;
     this.combinationsFinder           = combinationsFinder;
     this.fieldObjectCreator           = fieldObjectCreator;
     this.fieldObjectRemover           = fieldObjectRemover;
     this.coroutinePlayer              = coroutinePlayer;
     this.fieldProperties              = fieldProperties;
     this.fieldObjectFallingStartSpeed = fieldObjectFallingStartSpeed;
     this.fieldObjectFallingVelocity   = fieldObjectFallingVelocity;
 }