MatchInfo
namespace Griff.Modules.Match3;
public sealed class MatchInfoGems of one kind lined up and cleared together on a MatchBoard.
Properties
Section titled “Properties”public IReadOnlyList<ValueTuple<int, int>> Cells { get; init; }The cells cleared.
public int Chain { get; init; }1 for a match the swap made, 2 and on for those that lined up as gems landed.
public int Count { get; }How many gems it cleared.
public int Kind { get; init; }The gem’s tile number.
Methods
Section titled “Methods”Deconstruct
Section titled “Deconstruct”public void Deconstruct(out int Kind, out IReadOnlyList<ValueTuple<int, int>> Cells, out int Chain)Equals
Section titled “Equals”public override bool Equals(object? obj)Equals
Section titled “Equals”public bool Equals(MatchInfo? other)GetHashCode
Section titled “GetHashCode”public override int GetHashCode()ToString
Section titled “ToString”public override string ToString()