automatically gets bouif pull = true then
This commit is contained in:
parent
747a7b7b58
commit
214758388e
14 changed files with 143 additions and 81 deletions
3
box.lua
3
box.lua
|
|
@ -6,11 +6,12 @@ function Box:initialize(x, y, color)
|
|||
Entity.initialize(self, {
|
||||
x = x,
|
||||
y = y,
|
||||
name = "box",
|
||||
sizeX = 1,
|
||||
sizeY = 1,
|
||||
color = color,
|
||||
collision = "moveable",
|
||||
sprite = boxSprite[color]
|
||||
sprite = sprites.box[color]
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue