------------------------------------------------------------------------------ -- Imports ------------------------------------------------------------------------------ local make_class = require 'src.utils.classes' local Asset = require 'src.utils.asset' ------------------------------------------------------------------------------ -- Class definitions ------------------------------------------------------------------------------ local Drawable = make_class(Asset) ------------------------------------------------------------------------------ -- Class methods ------------------------------------------------------------------------------ function Drawable:_init(file_name) Asset._init(self, file_name) end function Drawable:update(_) end function Drawable:draw() end function Drawable:keypressed(_, _ , _) end function Drawable:textinput(_) end function Drawable:keyreleased(_, _) end function Drawable:mousemoved(_, _, _, _) end function Drawable:mousepressed(_, _, _) end function Drawable:mousereleased(_, _, _) end ------------------------------------------------------------------------------ -- Module return ------------------------------------------------------------------------------ return Drawable