From 6dbbdc46ddcf96623bcf0b144938f190f83a9b68 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 29 Apr 2019 21:21:07 +0200 Subject: [PATCH] example/moveplayer: remove playerid variable --- examples/gameplay/moveplayer/actors/player.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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