Some fixes for class names and queue (added base class).

This commit is contained in:
BenDol
2014-06-07 04:10:14 +12:00
parent 00253e46b3
commit c083d02bef
29 changed files with 94 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
-- @docclass
UICreatureButton = extends(UIWidget)
UICreatureButton = extends(UIWidget, "UICreatureButton")
local CreatureButtonColors = {
onIdle = {notHovered = '#888888', hovered = '#FFFFFF' },
@@ -25,10 +25,6 @@ function UICreatureButton.create()
return button
end
function UICreatureButton:getClassName()
return 'UICreatureButton'
end
function UICreatureButton:setCreature(creature)
self.creature = creature
end