Namespace

stdtask

stdtask

頻繁に必要になり, かつGUIに直接依存しないタスクをまとめたnamespace. 以下の要素が外部に公開される.

  • stdtask.Coroutine
  • stdtask.wait
  • stdtask.Select
  • stdtask.CyclicSelect
  • stdtask.Scroll
  • stdtask.Meter

View Source stdtask.js, line 20

Classes

Coroutine
CyclicSelect
Meter
Scroll
Select

Methods

# static wait(frames, valueopt)

指定されたフレーム数だけ yield true または yield false を繰り返す ジェネレータを生成する. framesが0以下の場合は何もしない.

Parameters:
Name Type Attributes Default Description
frames number

待機するフレーム数

value boolean <optional>
true

ジェネレータが返す値

View Source stdtask.js, line 124