battlesystem/menu: remove unused functions
This commit is contained in:
parent
70d0e304c9
commit
d7136cdb6a
2 changed files with 0 additions and 21 deletions
|
@ -91,25 +91,6 @@ function MenuConstructor:unset( )
|
||||||
self.isActive = false
|
self.isActive = false
|
||||||
end
|
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
|
-- CHARACTER_MENU
|
||||||
-- The actuals menus in the character menu
|
-- The actuals menus in the character menu
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ function BattleSystem:update(dt)
|
||||||
self.cursor:update(dt)
|
self.cursor:update(dt)
|
||||||
|
|
||||||
self.actormanager:update(dt)
|
self.actormanager:update(dt)
|
||||||
self.menu:update(dt)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleSystem:draw()
|
function BattleSystem:draw()
|
||||||
|
@ -47,7 +46,6 @@ function BattleSystem:draw()
|
||||||
self.hud:draw()
|
self.hud:draw()
|
||||||
self.actormanager:draw()
|
self.actormanager:draw()
|
||||||
|
|
||||||
self.menu:draw(dt)
|
|
||||||
--CScreen:cease()
|
--CScreen:cease()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue