Class: Game_Picture
Overview
Describe a picture display on the Screen
Instance Attribute Summary collapse
-
#angle
readonly
色調.
-
#blend_type
readonly
不透明度.
-
#mirror
回転角度.
-
#name
readonly
ピクチャ番号.
-
#number
readonly
Returns the value of attribute number.
-
#opacity
readonly
Y 方向拡大率.
-
#origin
readonly
ファイル名.
-
#tone
readonly
ブレンド方法.
-
#x
readonly
原点.
-
#y
readonly
X 座標.
-
#zoom_x
readonly
Y 座標.
-
#zoom_y
readonly
X 方向拡大率.
Instance Method Summary collapse
-
#erase
Remove the picture from the screen.
-
#initialize(number) ⇒ Game_Picture
constructor
Initialize the Game_Picture with default value.
-
#move(duration, origin, x, y, zoom_x, zoom_y, opacity, blend_type)
Move a picture.
-
#rotate(speed)
Rotate the picture.
-
#show(name, origin, x, y, zoom_x, zoom_y, opacity, blend_type)
Show a picture.
-
#start_tone_change(tone, duration)
Start a tone change of the picture.
-
#update
Update the picture state change.
Constructor Details
#initialize(number) ⇒ Game_Picture
Initialize the Game_Picture with default value
215 216 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 215 def initialize(number) end |
Instance Attribute Details
#angle (readonly)
色調
210 211 212 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 210 def angle @angle end |
#blend_type (readonly)
不透明度
206 207 208 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 206 def blend_type @blend_type end |
#mirror
回転角度
212 213 214 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 212 def mirror @mirror end |
#name (readonly)
ピクチャ番号
192 193 194 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 192 def name @name end |
#number (readonly)
Returns the value of attribute number.
190 191 192 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 190 def number @number end |
#opacity (readonly)
Y 方向拡大率
204 205 206 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 204 def opacity @opacity end |
#origin (readonly)
ファイル名
194 195 196 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 194 def origin @origin end |
#tone (readonly)
ブレンド方法
208 209 210 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 208 def tone @tone end |
#x (readonly)
原点
196 197 198 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 196 def x @x end |
#y (readonly)
X 座標
198 199 200 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 198 def y @y end |
#zoom_x (readonly)
Y 座標
200 201 202 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 200 def zoom_x @zoom_x end |
#zoom_y (readonly)
X 方向拡大率
202 203 204 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 202 def zoom_y @zoom_y end |
Instance Method Details
#erase
Remove the picture from the screen
249 250 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 249 def erase end |
#move(duration, origin, x, y, zoom_x, zoom_y, opacity, blend_type)
Move a picture
237 238 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 237 def move(duration, origin, x, y, zoom_x, zoom_y, opacity, blend_type) end |
#rotate(speed)
Rotate the picture
241 242 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 241 def rotate(speed) end |
#show(name, origin, x, y, zoom_x, zoom_y, opacity, blend_type)
Show a picture
226 227 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 226 def show(name, origin, x, y, zoom_x, zoom_y, opacity, blend_type) end |
#start_tone_change(tone, duration)
Start a tone change of the picture
246 247 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 246 def start_tone_change(tone, duration) end |
#update
Update the picture state change
256 257 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 256 def update end |