battlesystem/menu: remove unused functions

This commit is contained in:
Kazhnuz 2019-04-01 08:30:08 +02:00
parent 70d0e304c9
commit d7136cdb6a
2 changed files with 0 additions and 21 deletions

View file

@ -91,25 +91,6 @@ function MenuConstructor:unset( )
self.isActive = false
end
function MenuConstructor:update(dt)
if (self.isActive) then
end
end
function MenuConstructor:sendSignal(menu, id)
--print(self.menu[menu][id])
self.isActive = false
if (menu == 1) then
self.character:getSignal(BaseMenu[id], 1)
else
self.character:getSignal(BaseMenu[menu], id)
end
end
function MenuConstructor:draw()
-- remove in order to avoid crash
end
-- CHARACTER_MENU
-- The actuals menus in the character menu

View file

@ -32,7 +32,6 @@ function BattleSystem:update(dt)
self.cursor:update(dt)
self.actormanager:update(dt)
self.menu:update(dt)
end
function BattleSystem:draw()
@ -47,7 +46,6 @@ function BattleSystem:draw()
self.hud:draw()
self.actormanager:draw()
self.menu:draw(dt)
--CScreen:cease()
end