Example #1
0
 /// <summary>
 ///     Updates the location of the action.
 /// </summary>
 /// <param name="rawLocation">
 ///     The raw location that the action has been dragged to.
 ///     Should be transformed by the <see cref="P:EscherTiler.IView.InverseViewMatrix" /> for the
 ///     <see cref="P:EscherTiler.Controllers.Controller.View" /> to get the location in 1the tiling itself.
 /// </param>
 public override void Update(Vector2 rawLocation)
 {
     _form.UpdateTranslation(rawLocation - _last);
     _last = rawLocation;
 }