diff options
author | Kelly Thomas <kelly.thomas@hotmail.com.au> | 2018-08-23 23:45:18 +0800 |
---|---|---|
committer | Kelly Thomas <kelly.thomas@hotmail.com.au> | 2018-08-23 23:45:18 +0800 |
commit | 46207ae7aa19fb99476299d98cccba8cd5df7fb6 (patch) | |
tree | e2245c432afdf6d2dbbeb67d4c03431f62974943 /modules/mono/glue/cs_files/Rect2.cs | |
parent | e3014467e4e5c53b9cf072c3fb26c079fbe24104 (diff) |
[Mono] AABB - Position, Size, End setters, Rect2 - End setter
Diffstat (limited to 'modules/mono/glue/cs_files/Rect2.cs')
-rw-r--r-- | modules/mono/glue/cs_files/Rect2.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/glue/cs_files/Rect2.cs b/modules/mono/glue/cs_files/Rect2.cs index e772665009..cb25c267bc 100644 --- a/modules/mono/glue/cs_files/Rect2.cs +++ b/modules/mono/glue/cs_files/Rect2.cs @@ -29,6 +29,7 @@ namespace Godot public Vector2 End { get { return _position + _size; } + set { _size = value - _position; } } public real_t Area |