This commit is contained in:
0x81c 2015-03-25 01:38:53 -04:00 committed by Your Name
parent b19f58726c
commit 01d272981e
133 changed files with 822 additions and 66 deletions

21
generic_moveable.lua Normal file
View 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