Beispiel #1
0
 public LevelMatrixService(
     IMatrixService matrixService,
     IMatrixGridService matrixGridService
     )
 {
     _matrixService     = matrixService;
     _matrixGridService = matrixGridService;
     _squareWidth       = _matrixGridService.GetSquareWidth();
     _rectWidth         = _matrixGridService.GetRectWidth();
     _rectheight        = _matrixGridService.GetRectheight();
 }
Beispiel #2
0
 public MatrixService(
     IMatrixGridService matrixGridService,
     string bottomGoalType,
     string leftGoalType,
     string topGoalType,
     string rightGoalType
     )
 {
     _bottomGoalType    = bottomGoalType;
     _leftGoalType      = leftGoalType;
     _topGoalType       = topGoalType;
     _rightGoalType     = rightGoalType;
     _matrixGridService = matrixGridService;
     _squareWidth       = matrixGridService.GetSquareWidth();
     _rectWidth         = matrixGridService.GetRectWidth();
     _rectheight        = matrixGridService.GetRectheight();
 }