コード例 #1
0
 public static bool areFriendly(LameShip shipA, LameShip shipB)
 {
     return(!shipA.isHostile(shipB));
 }
コード例 #2
0
 public static bool areHostile(LameShip shipA, LameShip shipB)
 {
     return(shipA.isHostile(shipB));
 }