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

m (函数)
m (函数)
Line 1: Line 1:
 
提供鼠标接口的东东.
 
提供鼠标接口的东东.
 
== 函数 ==
 
== 函数 ==
{{#ask: [[Category:Functions]] [[parent::love.mouse]] [[Concept:Current]]
+
{{#ask: [[Category:Functions]] [[parent::love.mouse_(简体中文)]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 04:58, 16 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.

顺便看看


多国语言