-------------------------------- -- @module EventMouse -- @extend Event -------------------------------- -- @function [parent=#EventMouse] getMouseButton -- @param self -- @return int#int ret (return value: int) -------------------------------- -- @function [parent=#EventMouse] setScrollData -- @param self -- @param #float float -- @param #float float -------------------------------- -- @function [parent=#EventMouse] setMouseButton -- @param self -- @param #int int -------------------------------- -- @function [parent=#EventMouse] getScrollY -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#EventMouse] getScrollX -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#EventMouse] getCursorX -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#EventMouse] getCursorY -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#EventMouse] setCursorPosition -- @param self -- @param #float float -- @param #float float -------------------------------- -- @function [parent=#EventMouse] EventMouse -- @param self -- @param #cc.EventMouse::MouseEventType mouseeventtype return nil