Data class for the Event page [Graphics].
The tile ID. If the specified graphic is not a tile, this value is 0.
The character's graphic file name.
The adjustment value for the character graphic's hue (0..360).
The direction in which the character is facing (2: down, 4: left, 6: right, 8: up).
The character's pattern (0..3).
The character's opacity.
The character's blending mode.
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
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |