public FieldObjectSwapper(IMatrixStorageSwappable <IGameObjectable> fieldMatrix, FieldProperties fieldProperties, ICoroutinePlayer coroutinePlayer, float swapDuration) { this.fieldMatrix = fieldMatrix; this.fieldProperties = fieldProperties; this.coroutinePlayer = coroutinePlayer; this.swapDuration = swapDuration; }
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; }