From 576b92fd82f568572bc4beb125fa0ba0191a602f Mon Sep 17 00:00:00 2001
From: asmrobot <asmrobot@hotmail.com>
Date: Wed, 13 Nov 2019 14:59:52 +0000
Subject: [PATCH] add map editor

---
 src/RichCreator.Utility/Structs/ZTPoint.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/RichCreator.Utility/Structs/ZTPoint.cs b/src/RichCreator.Utility/Structs/ZTPoint.cs
index 20a5b0c..13004d4 100644
--- a/src/RichCreator.Utility/Structs/ZTPoint.cs
+++ b/src/RichCreator.Utility/Structs/ZTPoint.cs
@@ -58,6 +58,11 @@
             return new ZTPoint(this.X + val.X, this.Y + val.Y);
         }
 
+        public ZTPoint Add(Int32 x, Int32 y)
+        {
+            return new ZTPoint(this.X + x, this.Y + y);
+        }
+
         /// <summary>
         /// 两个坐标相减
         /// </summary>

--
Gitblit v1.9.3