summaryrefslogtreecommitdiff
path: root/Data/DefaultContent
diff options
context:
space:
mode:
Diffstat (limited to 'Data/DefaultContent')
-rw-r--r--Data/DefaultContent/Libraries/GameLab/Engine/Math/Rect.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/Data/DefaultContent/Libraries/GameLab/Engine/Math/Rect.lua b/Data/DefaultContent/Libraries/GameLab/Engine/Math/Rect.lua
new file mode 100644
index 0000000..2aeb0f7
--- /dev/null
+++ b/Data/DefaultContent/Libraries/GameLab/Engine/Math/Rect.lua
@@ -0,0 +1,10 @@
+local Rect = GameLab.Class("GameLab.Engine.Math.Rect")
+
+Rect.Ctor = function(self, x, y, width, height)
+ self.x = x or 0
+ self.y = y or 0
+ self.width = width or 0
+ self.height = height or 0
+end
+
+return Rect \ No newline at end of file