RPG::Event::Page::Graphic

The 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 file name of the character's graphic.

character_index

The index of the character's graphic file (0..7).

direction

The direction in which the character is facing (2: down, 4: left, 6: right, 8: up).

pattern

The character's pattern (0..2).

Definition

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