private void Construct(IBubbleCannon cannon, IUserInput input, IGridWrapper gridWrapper) { this.cannon = cannon; this.input = input; this.grid = gridWrapper; steps = new Vector3[3]; }
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 void InitField(IGridWrapper gridWrapper) { gridWrapper.AddColumnDefinitions(_engine.Field.DimensionX); gridWrapper.AddRowDefinitions(_engine.Field.DimensionY); gridWrapper.AddUnitView(_engine.Field); }
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 BubbleCollector(IGridWrapper grid, ScoreRange scoreRange) { this.grid = grid; this.scoreRange = scoreRange; }
public BubbleExploder(IGridWrapper grid, IBubbleSpawner spawner) { this.grid = grid; this.spawner = spawner; }