// To fuse piece type.
 public static PieceType operator +(PieceType type1, PieceType type2)
 {
     return(FusionRule.GetFusionType(type1, type2));
 }
Exemple #2
0
 public static bool CanFuse(PieceInfo info1, PieceInfo info2)
 {
     return(FusionRule.CanFuse(info1.PieceType, info2.PieceType));
 }