naming conventions act 2: the end
This commit is contained in:
@@ -24,8 +24,7 @@ function Arrow:new(x,y,rotation,speed)
|
||||
to = {x = 0.5, y = 0.5} -- gameworld pixels
|
||||
}
|
||||
|
||||
table.insert(LoadedObjects.Entities,o)
|
||||
o.id = #LoadedObjects.Entities
|
||||
o:id()
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
|
||||
Reference in New Issue
Block a user