C# Class BalloonsPop.LogicProvider.FieldGenerator

Provides balloon field generation.
Inheritance: IBalloonFieldRandomizer
Show file Open project: Baloons-Pop-4/Main

Public Methods

Method Description
FieldGenerator ( IRandomNumberGenerator rng ) : System.Linq

Initializes a new instance of the FieldGenerator class.

RandomizeBalloonField ( IBalloon field ) : void

Generates a random matrix of balloons that are not popped.

Method Details

FieldGenerator() public method

Initializes a new instance of the FieldGenerator class.
public FieldGenerator ( IRandomNumberGenerator rng ) : System.Linq
rng IRandomNumberGenerator An object that provides generation of pseudo-random integers.
return System.Linq

RandomizeBalloonField() public method

Generates a random matrix of balloons that are not popped.
public RandomizeBalloonField ( IBalloon field ) : void
field IBalloon The field.
return void