The data class for the Event page [Graphics].
The tile ID. If the specified graphic is not a tile, this value is 0.
The file name of the character's graphic.
The index of the character's graphic file (0..7).
The direction in which the character is facing (2: down, 4: left, 6: right, 8: up).
The character's pattern (0..2).
class RPG::Event::Page::Graphic def initialize @tile_id = 0 @character_name = '' @character_index = 0 @direction = 2 @pattern = 0 end attr_accessor :tile_id attr_accessor :character_name attr_accessor :character_index attr_accessor :direction attr_accessor :pattern end