RPG::Event::Page::Graphic
Data class for the Event page [Graphics].
Superclass
Referrer
Attributes
tile_id
The tile ID. If the specified graphic is not a tile, this value is 0.
character_name
The character's graphic file name.
character_hue
The adjustment value for the character graphic's hue (0..360).
direction
The direction in which the character is facing (2: down, 4: left, 6: right, 8: up).
pattern
The character's pattern (0..3).
opacity
The character's opacity.
blend_type
The character's blending mode.
Definition
module RPG
class Event
class Page
class Graphic
def initialize
@tile_id = 0
@character_name = ""
@character_hue = 0
@direction = 2
@pattern = 0
@opacity = 255
@blend_type = 0
end
attr_accessor :tile_id
attr_accessor :character_name
attr_accessor :character_hue
attr_accessor :direction
attr_accessor :pattern
attr_accessor :opacity
attr_accessor :blend_type
end
end
end
end
Last updated