public static bool TryGetSuitMarkerFlags(int cell, out SuitMarker.Flags flags, out PathFinder.PotentialPath.Flags pathFlags)
 {
     if (HasSuitMarker[cell])
     {
         SuitMarker suitMarker = suitMarkers[cell];
         flags = suitMarker.flags;
         SuitMarker suitMarker2 = suitMarkers[cell];
         pathFlags = suitMarker2.pathFlags;
         return(true);
     }
     flags     = (SuitMarker.Flags) 0;
     pathFlags = PathFinder.PotentialPath.Flags.None;
     return(false);
 }
    public static void UpdateSuitMarker(int cell, int fullLockerCount, int emptyLockerCount, SuitMarker.Flags flags, PathFinder.PotentialPath.Flags pathFlags)
    {
        DebugUtil.Assert(HasSuitMarker[cell]);
        SuitMarker value = suitMarkers[cell];

        value.suitCount   = fullLockerCount;
        value.lockerCount = fullLockerCount + emptyLockerCount;
        value.flags       = flags;
        value.pathFlags   = pathFlags;
        suitMarkers[cell] = value;
    }