ops
This commit is contained in:
+2
-2
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user