-------------------------------- -- @module Component -- @extend Ref -------------------------------- -- @function [parent=#Component] setEnabled -- @param self -- @param #bool bool -------------------------------- -- @function [parent=#Component] setName -- @param self -- @param #string str -------------------------------- -- @function [parent=#Component] isEnabled -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#Component] update -- @param self -- @param #float float -------------------------------- -- @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 node -------------------------------- -- @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