rewritten
This commit is contained in:
parent
3ae6c416e5
commit
286871ca21
5 changed files with 15 additions and 15 deletions
|
|
@ -3,7 +3,6 @@ require "entity"
|
|||
Player = class("Player", Entity)
|
||||
|
||||
function Player:initialize(x, y, color)
|
||||
|
||||
Entity.initialize(self, {
|
||||
x = x,
|
||||
y = y,
|
||||
|
|
@ -13,7 +12,6 @@ function Player:initialize(x, y, color)
|
|||
collision = "none", --player can't push other player
|
||||
sprite = playerSprite
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
function Player:update()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue