コード例 #1
0
 public void InitializeController(FieldProperties fieldProperties, IFieldObjectMarker fieldObjectMarker, IFieldObjectSwapper fieldObjectSwapper,
                                  IFieldUpdater fieldUpdater, ICombinationsFinder combinationsFinder)
 {
     this.fieldProperties    = fieldProperties;
     this.fieldObjectMarker  = fieldObjectMarker;
     this.fieldObjectSwapper = fieldObjectSwapper;
     this.fieldUpdater       = fieldUpdater;
     this.combinationsFinder = combinationsFinder;
 }
コード例 #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;
 }