Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: int[][] GenerateCombinations(int, int, int, int)

Declaration

public static int[][] GenerateCombinations(
    int minValue,
    int maxValue,
    int clue,
    int numAffectedCells
)

Summary

Generates (and caches) all possible combinations of digits that satisfy a given Battlefield clue.

Parameters

intminValue Minimum value a cell can have.
intmaxValue Maximum value a cell can have.
intclue Battlefield clue to satisfy.
intnumAffectedCells Number of cells involved in the region.