public override void OnOpen() { base.OnOpen(); if ((specificSocialTabForPawn == null || !Pawns.Contains(specificSocialTabForPawn)) && Pawns.Any()) { specificSocialTabForPawn = Pawns[0]; } }
public bool IsPawnOnPoint(Point point) { return(Pawns.Any(pawn => point == pawn.Position)); }