chore: remove unused stuff
This commit is contained in:
parent
83e8a68d03
commit
b95f899c75
2 changed files with 0 additions and 18 deletions
|
@ -9,12 +9,8 @@ function BattleHUD:new(controller)
|
|||
end
|
||||
|
||||
function BattleHUD:loadAssets()
|
||||
self.progressbarImage = love.graphics.newImage("assets/gui/progressbar.png")
|
||||
self.barBack = love.graphics.newQuad(0, 0, 211, 12, 211, 24)
|
||||
self.barFore = love.graphics.newQuad(0, 12, 211, 12, 211, 24)
|
||||
self.hud1 = gui.newBorder(424, 30, 8)
|
||||
|
||||
self.hud2 = gui.newBorder(424, 20, 8)
|
||||
self.hud7 = love.graphics.newImage("assets/gui/status_bar.png")
|
||||
|
||||
self.ring = love.graphics.newImage("assets/gui/ring.png")
|
||||
|
@ -22,19 +18,11 @@ function BattleHUD:loadAssets()
|
|||
self.font = love.graphics.newImageFont("assets/gui/hudnumbers.png", " 0123456789:/", 1)
|
||||
self.font2 = love.graphics.newImageFont("assets/gui/hudsmallnumbers.png", " 0123456789", 0)
|
||||
|
||||
self.time = love.graphics.newImage("assets/gui/hudtime.png")
|
||||
self.score = love.graphics.newImage("assets/gui/hudscore.png")
|
||||
self.bonus = love.graphics.newImage("assets/gui/hudbonus.png")
|
||||
|
||||
self.controller.assets:addTileset("lifeicon", "assets/sprites/characters/charicons")
|
||||
end
|
||||
|
||||
function BattleHUD:destroy( )
|
||||
self.progressbarImage:release( )
|
||||
self.barBack:release( )
|
||||
self.barFore:release( )
|
||||
self.hud1:release( )
|
||||
self.hud2:release( )
|
||||
end
|
||||
|
||||
function BattleHUD:update(dt)
|
||||
|
|
|
@ -35,18 +35,12 @@ function BattleSystem:update(dt)
|
|||
end
|
||||
|
||||
function BattleSystem:draw()
|
||||
--CScreen:apply()
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
love.graphics.rectangle("fill", 0, 0, 424, 240)
|
||||
--love.graphics.draw(self.background, 0, 0)
|
||||
self.battlearena:draw()
|
||||
self.cursor:drawBottom()
|
||||
self.battlearena:drawEntities()
|
||||
self.cursor:drawTop()
|
||||
self.hud:draw()
|
||||
self.actormanager:draw()
|
||||
|
||||
--CScreen:cease()
|
||||
end
|
||||
|
||||
function BattleSystem:exit()
|
||||
|
|
Loading…
Reference in a new issue