Class: Miyako::Yuki::CommandEX
Overview
コマンド構造体
- body
-
コマンドの名称(移動する、調べるなど、アイコンなどの画像も可)
- body_selected
-
選択時コマンドの名称(移動する、調べるなど、アイコンなどの画像も可)(省略時は、bodyと同一)
- body_disable
-
選択不可時コマンドの名称(移動する、調べるなど、アイコンなどの画像も可)(省略時は、bodyと同一)
- enabe
-
コマンド選択の時はtrue、選択不可の時はfalseを設定
- condition
-
表示条件(ブロック)。評価の結果、trueのときのみ表示
- result
-
選択結果(移動先シーンクラス名、シナリオ(メソッド)名他のオブジェクト)
- end_select_proc
-
この選択肢を選択したときに優先的に処理するブロック。
ブロックは1つの引数を取る(コマンド選択テキストボックス))。デフォルトはnil
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#body_disable ⇒ Object
Returns the value of attribute body_disable.
-
#body_selected ⇒ Object
Returns the value of attribute body_selected.
-
#condition ⇒ Object
Returns the value of attribute condition.
-
#enable ⇒ Object
Returns the value of attribute enable.
-
#end_select_proc ⇒ Object
Returns the value of attribute end_select_proc.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
100 101 102 |
# File 'lib/Miyako/API/yuki.rb', line 100 def body @body end |
#body_disable ⇒ Object
Returns the value of attribute body_disable
100 101 102 |
# File 'lib/Miyako/API/yuki.rb', line 100 def body_disable @body_disable end |
#body_selected ⇒ Object
Returns the value of attribute body_selected
100 101 102 |
# File 'lib/Miyako/API/yuki.rb', line 100 def body_selected @body_selected end |
#condition ⇒ Object
Returns the value of attribute condition
100 101 102 |
# File 'lib/Miyako/API/yuki.rb', line 100 def condition @condition end |
#enable ⇒ Object
Returns the value of attribute enable
100 101 102 |
# File 'lib/Miyako/API/yuki.rb', line 100 def enable @enable end |
#end_select_proc ⇒ Object
Returns the value of attribute end_select_proc
100 101 102 |
# File 'lib/Miyako/API/yuki.rb', line 100 def end_select_proc @end_select_proc end |
#result ⇒ Object
Returns the value of attribute result
100 101 102 |
# File 'lib/Miyako/API/yuki.rb', line 100 def result @result end |