Exemple #1
0
 /// <summary>Initializes a new instance of the <seealso cref="ObjectsMoved"/> class.</summary>
 /// <param name="affectedObjects">The objects that this action will affect.</param>
 /// <param name="offset">The offset to apply to the specified parameter of the affected objects.</param>
 /// <param name="action">The action to be performed.</param>
 public ObjectsMoved(LevelObjectCollection affectedObjects, Point offset, ObjectPropertyOffsetSetter <Point> action)
     : base(affectedObjects, offset, action)
 {
 }
 /// <summary>Initializes a new instance of the <seealso cref="MainColorIDsChanged"/> class.</summary>
 /// <param name="affectedObjects">The objects that this action will affect.</param>
 /// <param name="offset">The offset to apply to the specified property of the affected objects.</param>
 /// <param name="resultingColorID">The resulting value of the main color ID.</param>
 /// <param name="action">The action to be performed.</param>
 public MainColorIDsChanged(LevelObjectCollection affectedObjects, int offset, int resultingColorID, ObjectPropertyOffsetSetter <int> action)
     : base(affectedObjects, offset, resultingColorID, action)
 {
 }
 /// <summary>Initiailizes a new instance of the <seealso cref="LevelActionObjectsOffsetResult{TActionDelegate}"/> class.</summary>
 /// <param name="affectedObjects">The objects that this action will affect.</param>
 /// <param name="offset">The offset to apply to the specified parameter of the affected objects.</param>
 /// <param name="resultingValue">The resulting value of the specified parameter after performing the action.</param>
 /// <param name="action">The action to be performed.</param>
 public LevelActionObjectsOffsetResult(LevelObjectCollection affectedObjects, TValue offset, TValue resultingValue, ObjectPropertyOffsetSetter <TValue> action)
     : base(affectedObjects, offset, action)
 {
     ResultingValue = resultingValue;
 }