Ejemplo n.º 1
0
 public static BubbleMatrixManager GetInstance(int rows, int columns, BubbleMatrixGeoInfo geoInfo, Difficulty difficulty)
 {
     if (_instance == null)
     {
         var matrix = new BubbleMatrix(rows, columns);
         _instance = new BubbleMatrixManager(matrix, geoInfo, difficulty);
     }
     return(_instance);
 }
Ejemplo n.º 2
0
 private BubbleMatrixManager(BubbleMatrix matrix, BubbleMatrixGeoInfo geoInfo, Difficulty difficulty)
 {
     _matrix    = matrix;
     _geoInfo   = geoInfo;
     _diffculty = difficulty;
 }