mirror of
https://gitlab.com/MaddoScientisto/cirnofarm.git
synced 2026-06-04 00:25:55 +00:00
Movable object
This commit is contained in:
parent
56fa9bce02
commit
5e667fd6d2
6 changed files with 97 additions and 17 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue