so we have a lot of it wor_ing properly, now we have to do the thing where it preloads necessary spritesgit add -A
This commit is contained in:
parent
b071e117fa
commit
d690863b6f
5 changed files with 18 additions and 14 deletions
|
|
@ -2,8 +2,9 @@ require "entity"
|
|||
|
||||
GenericMoveable = class("GenericMoveable", Entity)
|
||||
|
||||
function GenericMoveable:initialize(x, y, color, sprite)
|
||||
function GenericMoveable:initialize(x, y, color, sprite, name)
|
||||
Entity.initialize(self, {
|
||||
name = name,
|
||||
x = x,
|
||||
y = y,
|
||||
color = color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue