|
|
@ -3,6 +3,8 @@ Player = Object:extend() |
|
|
require("blaster") |
|
|
require("blaster") |
|
|
local playerBullets |
|
|
local playerBullets |
|
|
|
|
|
|
|
|
|
|
|
--int x, y |
|
|
|
|
|
--playableArea {int[2]} |
|
|
function Player:new(x, y, playableArea) |
|
|
function Player:new(x, y, playableArea) |
|
|
self.image = { |
|
|
self.image = { |
|
|
{ "fullHealth", love.graphics.newImage("/assets/player/player01.png") }, |
|
|
{ "fullHealth", love.graphics.newImage("/assets/player/player01.png") }, |
|
|
|