more naming convention
now there are spawn objects! now entity spawns are loaded from level! now entity spawns are saved to level!
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
Decoration = Entity:new()
|
||||
Decoration.type = "Decoration"
|
||||
|
||||
function Decoration:new(x,y,animation,light_radius)
|
||||
local o = Entity:new(x,y)
|
||||
|
||||
o.type = "decoration"
|
||||
|
||||
o.pos = {x = x, y = y}
|
||||
|
||||
-- animations
|
||||
|
||||
Reference in New Issue
Block a user