Difference between revisions of "love.mouse (简体中文)"

m
m
Line 7: Line 7:
  
 
== 枚举|类似属性的东西 ==
 
== 枚举|类似属性的东西 ==
{{#ask: [[Category:Enums]] [[parent::love.mouse_(简体中文)]] [[Concept:Current]]
+
{{#ask: [[Category:Enums]] [[parent::love.mouse]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description
 
}}
 
}}
 
== 顺便看看 ==
 
== 顺便看看 ==
* [[parent::love_(简体中文)]]
+
* [[parent::love (简体中文)]]
 
* [[love.mousepressed]]
 
* [[love.mousepressed]]
 
* [[love.mousereleased]]
 
* [[love.mousereleased]]

Revision as of 02:27, 17 March 2013

提供鼠标接口的东东.

函数

love.mouse.getPosition (简体中文)返回鼠标的当前位置.
love.mouse.getX (简体中文)返回当前鼠标x坐标.
love.mouse.getY (简体中文)返回当前鼠标y坐标。
love.mouse.isDown (简体中文)检测鼠标是否按下.
love.mouse.isGrabbed (简体中文)检测鼠标是否被限制.
love.mouse.isVisible (简体中文)检测光标可见性.
love.mouse.setGrab (简体中文)改变鼠标在窗口的限制状态.(强大哦!喵)

枚举|类似属性的东西

CursorTypeTypes of hardware cursors.
MouseConstantMouse buttons.

顺便看看


多国语言