예제 #1
0
        public static void SetOrigin(Int64 h, Int64 v)
        {
            ClusterPos oldOriign = CurrentOrigin;

            CurrentOrigin = new ClusterPos(h, v);
            OriginChanged?.Invoke(oldOriign, CurrentOrigin);
        }
예제 #2
0
파일: TileMap.cs 프로젝트: Maseya/MushROMs
 /// <summary>
 /// Raises the <see cref="OriginChanged"/> event.
 /// </summary>
 /// <param name="e">
 /// An <see cref="EventArgs"/> that contains the event data.
 /// </param>
 protected virtual void OnOriginChanged(EventArgs e)
 {
     OriginChanged?.Invoke(this, e);
 }
예제 #3
0
 private void SetOrigin(Single3 value)
 {
     _origin = value;
     RefreshImage();
     OriginChanged?.Invoke(this, new EventArgs());
 }