-------------------------------- -- @module Component -- @extend Ref -- @parent_module cc -------------------------------- -- -- @function [parent=#Component] setEnabled -- @param self -- @param #bool b -- @return Component#Component self (return value: cc.Component) -------------------------------- -- -- @function [parent=#Component] setName -- @param self -- @param #string name -- @return Component#Component self (return value: cc.Component) -------------------------------- -- -- @function [parent=#Component] isEnabled -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#Component] update -- @param self -- @param #float delta -- @return Component#Component self (return value: cc.Component) -------------------------------- -- -- @function [parent=#Component] getOwner -- @param self -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- -- @function [parent=#Component] init -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#Component] setOwner -- @param self -- @param #cc.Node pOwner -- @return Component#Component self (return value: cc.Component) -------------------------------- -- -- @function [parent=#Component] getName -- @param self -- @return string#string ret (return value: string) -------------------------------- -- -- @function [parent=#Component] create -- @param self -- @return Component#Component ret (return value: cc.Component) return nil