function test:getInstance()
if self._instance== nil then
local obj ={}
obj = setmetatable(obj,self)
obj .getInstance = self .getInstance
self._instance = obj
end
return self._instance
end
function test:getInstance()
if self._instance== nil then
local obj ={}
obj = setmetatable(obj,self)
obj .getInstance = self .getInstance
self._instance = obj
end
return self._instance
end