From eaa78e7d697108b0a3b224835ce28d8e8e5874f2 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 2 Sep 2017 20:09:51 +0200 Subject: Empty delete function for Object just in case --- not/Object.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'not/Object.lua') 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 -- cgit v1.1