Difference between revisions of "love.event.wait (日本語)"
(New translation (Based revision : 2 September 2012, at 01:20)) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <code>[[love.event.poll (日本語)|love.event.poll]]()</code> | + | {{newin (日本語)|[[0.6.0 (日本語)|0.6.0]]|060|type=関数}} |
+ | <code>[[love.event.poll (日本語)|love.event.poll]]()</code> と似ていますが、イベントキューにイベントが入るまで阻止します。 | ||
== 関数 == | == 関数 == | ||
=== 概要 === | === 概要 === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | n, a, b, c, d, e, f, ... = love.event.wait( ) | |
</source> | </source> | ||
=== 引数 === | === 引数 === | ||
Line 9: | Line 10: | ||
=== 返値 === | === 返値 === | ||
{{param|Event|e|イベントの種類。}} | {{param|Event|e|イベントの種類。}} | ||
− | {{param| | + | {{param|Variant|a|イベントの第一引数。}} |
− | {{param| | + | {{param|Variant|b|イベントの第二引数。}} |
− | {{param| | + | {{param|Variant|c|イベントの第三引数。}} |
− | {{param| | + | {{New_feature (日本語)|0.8.0| |
+ | {{param|Variant|d|イベントの第四引数。 }} | ||
+ | }} | ||
+ | {{New_feature (日本語)|0.10.0| | ||
+ | {{param|Variant|e|イベントの第五引数。}} | ||
+ | {{param|Variant|f|イベントの第六引数。}} | ||
+ | {{param|Variant|...|必要ならば追加のイベント引数を続けて記述します。}} }} | ||
+ | |||
== 関連 == | == 関連 == | ||
* [[parent::love.event (日本語)]] | * [[parent::love.event (日本語)]] | ||
+ | * [[love.event.poll (日本語)]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=love.event.poll() と似ていますが、イベントキューにイベントがあるまで阻止します。 }} | {{#set:Description=love.event.poll() と似ていますが、イベントキューにイベントがあるまで阻止します。 }} | ||
{{#set:Since=000}} | {{#set:Since=000}} | ||
== そのほかの言語 == | == そのほかの言語 == | ||
− | {{i18n|love.event.wait}} | + | {{i18n (日本語)|love.event.wait}} |
Revision as of 16:19, 9 June 2019
LÖVE 0.6.0 から使用可能 |
この関数は以前のバージョンでは非対応です。 |
love.event.poll()
と似ていますが、イベントキューにイベントが入るまで阻止します。
関数
概要
n, a, b, c, d, e, f, ... = love.event.wait( )
引数
なし。
返値
LÖVE 0.8.0 から利用可能
Variant d
- イベントの第四引数。
LÖVE 0.10.0 から利用可能
関連