diff --git a/examples/gameplay/moveplayer/actors/player.lua b/examples/gameplay/moveplayer/actors/player.lua index 32cac36..9877bff 100644 --- a/examples/gameplay/moveplayer/actors/player.lua +++ b/examples/gameplay/moveplayer/actors/player.lua @@ -4,7 +4,7 @@ local Player = Parent:extend() function Player:new(world, x, y, id) Player.super.new(self, world, "player", x, y, 16, 16, true) - self.playerid = id + end function Player:update(dt) @@ -28,7 +28,6 @@ end function Player:draw() Player.super.draw(self) - love.graphics.print(self.playerid, self.x, self.y) end return Player