id_
This commit is contained in:
parent
b19f58726c
commit
01d272981e
133 changed files with 822 additions and 66 deletions
21
generic_moveable.lua
Normal file
21
generic_moveable.lua
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
require "entity"
|
||||
|
||||
GenericMoveable = class("GenericMoveable", Entity)
|
||||
|
||||
function GenericMoveable:initialize(x, y, color, sprite)
|
||||
Entity.initialize(self, {
|
||||
x = x,
|
||||
y = y,
|
||||
color = color,
|
||||
collision = "moveable",
|
||||
sprite = sprite
|
||||
})
|
||||
end
|
||||
|
||||
function GenericMoveable:update()
|
||||
|
||||
end
|
||||
|
||||
function GenericMoveable:tick()
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue