Exemplo n.º 1
0
 public bool IsValidFor(ImmutableBubbleBurstGrid grid)
 {
     return(Locations.All(location => grid[location.X, location.Y] == Colour));
 }
Exemplo n.º 2
0
 public GameMove(ImmutableBubbleBurstGrid grid)
 {
     Score     = 0;
     GridState = grid;
     Moves     = new List <PointAndColour>();
 }
Exemplo n.º 3
0
 public BubbleGroupFinder(ImmutableBubbleBurstGrid grid, IEnumerable <BubbleGroup> parentsGroups)
 {
     _grid  = grid;
     _stats = new Dictionary <Bubble, int>();
     //_parentGroups = parentsGroups ?? Enumerable.Empty<BubbleGroup>();
 }
Exemplo n.º 4
0
 internal GameMove(ImmutableBubbleBurstGrid gridState, IList <PointAndColour> moves, int score)
 {
     Score     = score;
     Moves     = moves;
     GridState = gridState;
 }