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 (简体中文)]]

Latest revision as of 04:07, 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 (简体中文)改变鼠标在窗口的限制状态.(强大哦!喵)

枚举|类似属性的东西

MouseConstant (简体中文)鼠标值(姑且这么译).

顺便看看


多国语言