Created Particles, added fairy particle, added more entity methods like kill() and entity id
This commit is contained in:
@@ -53,9 +53,11 @@
|
||||
-- lights
|
||||
o.light = CreateLight(o.pos.x,o.pos.y,o.lightRange)
|
||||
|
||||
table.insert(LoadedEntities,o)
|
||||
o.id = #LoadedEntities
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
|
||||
return o
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user