Simon Kellet 2 months ago
parent 49633072ac
commit f5770cd4e0
  1. 4
      player.lua

@ -1,6 +1,6 @@
Player = Object:extend() Player = Object:extend()
cos = math.cos local cos = math.cos
sin = math.sin --optimisation local sin = math.sin --optimisation
-- Constructor for the Player class -- Constructor for the Player class
function Player:new(p, x, y, health, image, speed) function Player:new(p, x, y, health, image, speed)

Loading…
Cancel
Save