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

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

Loading…
Cancel
Save