Ejemplo n.º 1
0
 /// <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);
     }
 }
Ejemplo n.º 2
0
 /// <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);
     }
 }
Ejemplo n.º 3
0
 /// <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);
 }