naming conventions act 2: the end
This commit is contained in:
@@ -17,8 +17,7 @@ function Decoration:new(x,y,animation,light_radius)
|
||||
o.light = Light:new(o.pos.x,o.pos.y,o.light_radius)
|
||||
end
|
||||
|
||||
table.insert(LoadedObjects.Entities,o)
|
||||
o.id = #LoadedObjects.Entities
|
||||
o:id()
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
|
||||
Reference in New Issue
Block a user