static void Main() { var x = new IntBool(1); var y = new IntBool(0); if (x) { Console.WriteLine("if true"); } else { Console.WriteLine("if false"); } Console.WriteLine(x ? "true!" : "false."); Console.WriteLine(x && y); Console.WriteLine(x || y); Console.WriteLine(x | y); }
public void register_hs_getter(IntBool is_high_score_) { is_high_score = is_high_score_; }