/// <summary> /// Raises event <see cref="MovedNearArea"/>. /// </summary> /// <param name="e">Data that describes the event.</param> protected virtual void OnMovedNearArea(EntityAreaPositionEventArgs e) { if (this.MovedNearArea != null) { this.MovedNearArea(this, e); } }
/// <summary> /// Raises event <see cref="LeftProximityArea"/>. /// </summary> /// <param name="e">Data that describes the event.</param> protected virtual void OnLeftProximityArea(EntityAreaPositionEventArgs e) { if (this.LeftProximityArea != null) { this.LeftProximityArea(this, e); } }
/// <summary> /// Raises event <see cref="EnteredArea"/>. /// </summary> /// <param name="e">Data that describes the event.</param> protected virtual void OnEnteredArea(EntityAreaPositionEventArgs e) { if (this.EnteredArea != null) { this.EnteredArea(this, e); } }
/// <summary> /// Raises event <see cref="MovedNearArea"/>. /// </summary> /// <param name="e">Data that describes the event.</param> protected virtual void OnMovedNearArea(EntityAreaPositionEventArgs e) { if (this.MovedNearArea != null) this.MovedNearArea(this, e); }
/// <summary> /// Raises event <see cref="LeftProximityArea"/>. /// </summary> /// <param name="e">Data that describes the event.</param> protected virtual void OnLeftProximityArea(EntityAreaPositionEventArgs e) { if (this.LeftProximityArea != null) this.LeftProximityArea(this, e); }
/// <summary> /// Raises event <see cref="EnteredArea"/>. /// </summary> /// <param name="e">Data that describes the event.</param> protected virtual void OnEnteredArea(EntityAreaPositionEventArgs e) { if (this.EnteredArea != null) this.EnteredArea(this, e); }