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