Class: Game_Screen
Overview
Update every component that affect the screen
Constant Summary collapse
- NEUTRAL_TONE =
Tone that is considered neutral (to let interpreter know how to handle tone & TJN)
Tone.new(0, 0, 0, 0)
Instance Attribute Summary collapse
-
#flash_color
readonly
色調.
-
#pictures
readonly
シェイク位置.
-
#shake
readonly
フラッシュ色.
-
#tone
readonly
Returns the value of attribute tone.
-
#weather_max
readonly
天候 タイプ.
-
#weather_type
readonly
ピクチャ.
Instance Method Summary collapse
-
#initialize ⇒ Game_Screen
constructor
天候 画像の最大数 default initializer.
-
#start_flash(color, duration)
start a flash process.
-
#start_shake(power, speed, duration)
start a screen shake process.
-
#start_tone_change(tone, duration)
start a tone change process.
-
#update
Update every process and picture.
-
#weather(type, power, duration, psdk_weather: nil)
starts a weather change process.
Constructor Details
#initialize ⇒ Game_Screen
天候 画像の最大数 default initializer
272 273 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 272 def initialize end |
Instance Attribute Details
#flash_color (readonly)
色調
261 262 263 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 261 def flash_color @flash_color end |
#pictures (readonly)
シェイク位置
265 266 267 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 265 def pictures @pictures end |
#shake (readonly)
フラッシュ色
263 264 265 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 263 def shake @shake end |
#tone (readonly)
Returns the value of attribute tone.
259 260 261 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 259 def tone @tone end |
#weather_max (readonly)
天候 タイプ
269 270 271 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 269 def weather_max @weather_max end |
#weather_type (readonly)
ピクチャ
267 268 269 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 267 def weather_type @weather_type end |
Instance Method Details
#start_flash(color, duration)
start a flash process
282 283 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 282 def start_flash(color, duration) end |
#start_shake(power, speed, duration)
start a screen shake process
288 289 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 288 def start_shake(power, speed, duration) end |
#start_tone_change(tone, duration)
start a tone change process
277 278 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 277 def start_tone_change(tone, duration) end |
#update
Update every process and picture
298 299 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 298 def update end |
#weather(type, power, duration, psdk_weather: nil)
starts a weather change process
295 296 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 295 def weather(type, power, duration, psdk_weather: nil) end |