Class: RPG::System::Vehicle

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVehicle

Returns a new instance of Vehicle.



958
959
960
961
962
963
964
965
# File 'lib/rgss3/rpg.rb', line 958

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

Instance Attribute Details

#bgmObject

Returns the value of attribute bgm.



968
969
970
# File 'lib/rgss3/rpg.rb', line 968

def bgm
  @bgm
end

#character_indexObject

Returns the value of attribute character_index.



967
968
969
# File 'lib/rgss3/rpg.rb', line 967

def character_index
  @character_index
end

#character_nameObject

Returns the value of attribute character_name.



966
967
968
# File 'lib/rgss3/rpg.rb', line 966

def character_name
  @character_name
end

#start_map_idObject

Returns the value of attribute start_map_id.



969
970
971
# File 'lib/rgss3/rpg.rb', line 969

def start_map_id
  @start_map_id
end

#start_xObject

Returns the value of attribute start_x.



970
971
972
# File 'lib/rgss3/rpg.rb', line 970

def start_x
  @start_x
end

#start_yObject

Returns the value of attribute start_y.



971
972
973
# File 'lib/rgss3/rpg.rb', line 971

def start_y
  @start_y
end