2014-07-11 17:48:20 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module EventController
|
|
|
|
-- @extend Event
|
|
|
|
-- @parent_module cc
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-07-11 17:48:20 +08:00
|
|
|
-- @function [parent=#EventController] getControllerEventType
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-07-11 17:48:20 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-07-11 17:48:20 +08:00
|
|
|
-- @function [parent=#EventController] setConnectStatus
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #bool isConnected
|
2014-07-11 17:48:20 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-07-11 17:48:20 +08:00
|
|
|
-- @function [parent=#EventController] isConnected
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-07-11 17:48:20 +08:00
|
|
|
-- @function [parent=#EventController] setKeyCode
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int keyCode
|
2014-07-11 17:48:20 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-07-11 17:48:20 +08:00
|
|
|
-- @function [parent=#EventController] getController
|
|
|
|
-- @param self
|
|
|
|
-- @return Controller#Controller ret (return value: cc.Controller)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-07-11 17:48:20 +08:00
|
|
|
-- @function [parent=#EventController] getKeyCode
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @overload self, int, cc.Controller, bool
|
|
|
|
-- @overload self, int, cc.Controller, int
|
2014-07-11 17:48:20 +08:00
|
|
|
-- @function [parent=#EventController] EventController
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int type
|
2014-07-11 17:48:20 +08:00
|
|
|
-- @param #cc.Controller controller
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int keyCode
|
2014-07-11 17:48:20 +08:00
|
|
|
|
|
|
|
return nil
|