public override bool Equals(object obj) { Bad1 rhs = obj as Bad1; if ((object)rhs == null) { return(false); } return(this == rhs); }
public override bool Equals(object rhsObj) { if (rhsObj == null) { return(false); } Bad1 rhs = rhsObj as Bad1; return(m_name == rhs.m_name && m_address == rhs.m_address); }
public override bool Equals(object rhsObj) { if (rhsObj == null) { return(false); } Bad1 rhs = rhsObj as Bad1; return(this == rhs); }
public override bool Equals(object rhsObj) { if (rhsObj == null) { return(false); } if (GetType() != rhsObj.GetType()) { return(false); } Bad1 rhs = (Bad1)rhsObj; return(x == rhs.x && y == rhs.y); }
public void Verify1E() { if (!Timer.gameEnded && !EquationControl.verified1 && !EquationControl.controlLoss) { if (EquationControl.n0 == EquationControl.CorrectInts[0]) { Bad1.SetActive(false); Good1.SetActive(true); FindObjectOfType <SoundManager>().PlaySound("success3"); EquationControl.score++; EquationControl.verified1 = true; } else { FindObjectOfType <SoundManager>().PlaySound("incorrectanswer"); Bad1.SetActive(true); } } }
public bool Equals(Bad1 rhs) { return this == rhs; }
public override bool Equals(object rhsObj) { Bad1 rhs = (Bad1)rhsObj; return(x == rhs.x); }
public bool Equals(Bad1 rhs) { return(this == rhs); }