/// <summary> /// Raises event <see cref="Moved"/>. /// </summary> /// <param name="flags">Data specific for this event.</param> protected virtual void OnMoved(EntityXFormFlags flags) { if (this.Moved != null) { this.Moved(this, new EntityMovementEventArgs(flags)); } }
/// <summary> /// Raises event <see cref="Moved"/>. /// </summary> /// <param name="flags">Data specific for this event.</param> protected virtual void OnMoved(EntityXFormFlags flags) { if (this.Moved != null) this.Moved(this, new EntityMovementEventArgs(flags)); }
/// <summary> /// Creates new instance of this type. /// </summary> /// <param name="xFormChanges">Flags that describe changes to the transformation of this entity.</param> public EntityMovementEventArgs(EntityXFormFlags xFormChanges) { this.XFormChanges = xFormChanges; }