Created Particles, added fairy particle, added more entity methods like kill() and entity id
This commit is contained in:
@@ -15,11 +15,13 @@ function Decoration:New(x,y,animation,lightRange)
|
||||
o.light = CreateLight(o.pos.x,o.pos.y,o.lightRange,nil,60/6)
|
||||
end
|
||||
|
||||
table.insert(LoadedEntities,o)
|
||||
o.id = #LoadedEntities
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
|
||||
return o
|
||||
end
|
||||
end
|
||||
|
||||
function Decoration:Smart()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user