/// <summary> /// Gets executed when the <see cref="Ball"/> is dropped on another <see cref="Ball"/>. /// <para/> /// Doesn't do anything by default. /// </summary> /// <param name="ball">The <see cref="Ball"/> this <see cref="Ball"/> is dropped onto.</param> public virtual void DropsOn(Ball ball) { }
/// <summary> /// Checks whether this <see cref="Ball"/> would form a match with the other one. /// <para/> /// Returns <code>false</code> by default. /// </summary> /// <param name="other">The other <see cref="Ball"/>.</param> /// <returns>Whether this <see cref="Ball"/> would form a match with the other one.</returns> public virtual bool Matches(Ball other) { return false; }
/// <summary> /// Gets executed when another <see cref="Ball"/> gets dropped on it. /// <para/> /// Doesn't do anything by default. /// </summary> /// <param name="ball">The <see cref="Ball"/> that is dropped onto this <see cref="Ball"/>.</param> public virtual void DroppedOnBy(Ball ball) { }