Movable object

This commit is contained in:
MaddoScientisto 2024-04-26 14:24:25 +02:00
commit 5e667fd6d2
6 changed files with 97 additions and 17 deletions

View file

@ -8,7 +8,9 @@ Actor = {
function Actor:new(new_x,new_y)
local o = {
x=new_x,
y=new_y,
y=new_y,
w=16,
h=16
}
return setmetatable(o, {__index=self})