21 lines
318 B
Lua
21 lines
318 B
Lua
|
|
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
|