Created Particles, added fairy particle, added more entity methods like kill() and entity id

This commit is contained in:
lustlion
2022-01-19 23:29:02 +01:00
parent 15e8142c4c
commit 50f126fa7b
77 changed files with 106 additions and 26 deletions

View File

@@ -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