public void Clear() { InCheck = false; CastlelingRights = 0; ReversibleHalfMoveCount = 0; PawnStructureKey = 0; Key = 0; Material.Clear(); LastMove = MoveExtensions.EmptyMove; }