public void Evaluate(int SpreadMax) { if (FContextDirty) { if (FInFullHouseContext[0] == null) FInFullHouseContext = null; else { FContext = FInFullHouseContext[0].FullHouseNode; } } if (FInDo[0]) FContext.Update += OnUpdate; if (FCornersDirty) { lock(FWorldCorners) { FOutWorld.SliceCount = FWorldCorners.Count; for (int i = 0; i < FWorldCorners.Count; i++) FOutWorld[i] = FWorldCorners[i]; } lock (FDepthCorners) { FOutDepth.SliceCount = FDepthCorners.Count; for (int i = 0; i < FDepthCorners.Count; i++) FOutDepth[i] = FDepthCorners[i]; } } }
public FullHouseContext(FullHouseNode node) { this.FullHouseNode = node; }