summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-02 20:09:51 +0200
committerAki <nthirtyone@gmail.com>2017-09-02 20:09:51 +0200
commiteaa78e7d697108b0a3b224835ce28d8e8e5874f2 (patch)
tree79fce2edb18985d0dddaccaa7f43d443353301c3 /not
parentd667be2b2538b22458a13efdc3aff6996e161947 (diff)
downloadroflnauts-eaa78e7d697108b0a3b224835ce28d8e8e5874f2.zip
roflnauts-eaa78e7d697108b0a3b224835ce28d8e8e5874f2.tar.gz
roflnauts-eaa78e7d697108b0a3b224835ce28d8e8e5874f2.tar.bz2
Empty delete function for Object just in case
Diffstat (limited to 'not')
-rw-r--r--not/Object.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/not/Object.lua b/not/Object.lua
index 30b91b5..352e9e3 100644
--- a/not/Object.lua
+++ b/not/Object.lua
@@ -1,3 +1,8 @@
--- Wrapping library to game's hierarchy in a shameless way.
+--- Wrapping library to game's hierarchy in a shameless way.
Object = require "lib.object.Object"
+
+--- Called before Object references are removed from parent.
+-- This is not called when Object is garbage collected.
+function Object:delete () end
+
return Object