public BubbleCannon(IBubbleSpawner bubbleSpawner, IGridWrapper grid) { this.bubbleSpawner = bubbleSpawner; this.grid = grid; queue = new Queue <Bubble>(QueueSize); Prepare(); }
private void Construct(IBubbleSpawner bubbleSpawner, IGridWrapper grid, IScoreManager scoreManager) { this.bubbleSpawner = bubbleSpawner; this.grid = grid; this.scoreManager = scoreManager; queue = new Queue <Bubble>(QueueSize); Prepare(); allow = true; }
public ScoreManager(IGridWrapper grid, IBubbleSpawner spawner, IScoreCalculator calculator, IBubbleCollector collector, IBubbleExploder exploder, IGridManager gridManager, ScoreRange scoreRange) { this.grid = grid; this.spawner = spawner; this.calculator = calculator; this.collector = collector; this.exploder = exploder; this.gridManager = gridManager; this.scoreRange = scoreRange; }
public GridManager(IBubbleSpawner spawner, IGridWrapper grid) { this.spawner = spawner; this.grid = grid; }
private void Construct(IBubbleSpawner spawner, IGridWrapper grid) { this.spawner = spawner; this.grid = grid; }
public BubbleExploder(IGridWrapper grid, IBubbleSpawner spawner) { this.grid = grid; this.spawner = spawner; }