mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 14:14:36 +00:00
commit
7fe9234708
@ -36,7 +36,7 @@ return function(class, limit)
|
||||
return instance
|
||||
end
|
||||
|
||||
--release a vector to the pool
|
||||
--release a object to the pool
|
||||
function class:release()
|
||||
if #_pool < _pool_limit then
|
||||
table.insert(_pool, self)
|
||||
|
Loading…
Reference in New Issue
Block a user