RPG::System::Vehicle

The data class for vehicles.

Superclass

Referrer

Attributes

character_name

The file name of the vehicle's walking graphic.

character_index

The index of the vehicle's walking graphic (0..7).

bgm

The vehicle's BGM (RPG::BGM).

start_map_id

The map ID of the vehicle's initial position.

start_x

The map's x-coordinate of the vehicle's initial position.

start_y

The map's y-coordinate of the vehicle's initial position.

Definition

class RPG::System::Vehicle
  def initialize
    @character_name = ''
    @character_index = 0
    @bgm = RPG::BGM.new
    @start_map_id = 0
    @start_x = 0
    @start_y = 0
  end
  attr_accessor :character_name
  attr_accessor :character_index
  attr_accessor :bgm
  attr_accessor :start_map_id
  attr_accessor :start_x
  attr_accessor :start_y
end