Difference between revisions of "Joystick:getHat"

m
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getHat]]}}
 
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getHat]]}}
Gets the direction of a hat.
+
조이스틱 햇의 위치를 구합니다.
== Function ==
+
== 함수 ==
=== Synopsis ===
+
=== 형식 ===
 
<source lang="lua">
 
<source lang="lua">
 
direction = Joystick:getHat( hat )
 
direction = Joystick:getHat( hat )
 
</source>
 
</source>
=== Arguments ===
+
=== 매개변수 ===
{{param|number|hat|The index of the hat to be checked.}}
+
{{param|number (한국어)|hat|확인할 조이스틱 햇의 인덱스.}}
 
=== Returns ===
 
=== Returns ===
{{param|JoystickHat|direction|The direction the hat is pushed.}}
+
{{param|JoystickHat (한국어)|direction|조이스틱 햇의 위치.}}
== See Also ==
+
== 한국어 ==
* [[parent::Joystick]]
+
* [[parent::Joystick (한국어)]]
* [[Joystick:getHatCount]]
+
* [[Joystick:getHatCount (한국어)]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the direction of a hat.}}
+
{{#set:Description=조이스틱 햇의 위치를 구합니다.}}
== Other Languages ==
+
== 다른 언어 ==
 
{{i18n|Joystick:getHat}}
 
{{i18n|Joystick:getHat}}

Revision as of 10:37, 3 February 2014

Available since LÖVE 0.9.0
It has been moved from love.joystick.getHat.

조이스틱 햇의 위치를 구합니다.

함수

형식

direction = Joystick:getHat( hat )

매개변수

number (한국어) hat
확인할 조이스틱 햇의 인덱스.

Returns

JoystickHat (한국어) direction
조이스틱 햇의 위치.

한국어

다른 언어