Class: RPG::System::Vehicle

Inherits:
Object
  • Object
show all
Defined in:
lib/R3EXS/RGSS3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVehicle

Returns a new instance of Vehicle.



1302
1303
1304
1305
1306
1307
1308
1309
# File 'lib/R3EXS/RGSS3.rb', line 1302

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.



1313
1314
1315
# File 'lib/R3EXS/RGSS3.rb', line 1313

def bgm
  @bgm
end

#character_indexObject

Returns the value of attribute character_index.



1312
1313
1314
# File 'lib/R3EXS/RGSS3.rb', line 1312

def character_index
  @character_index
end

#character_nameObject

Returns the value of attribute character_name.



1311
1312
1313
# File 'lib/R3EXS/RGSS3.rb', line 1311

def character_name
  @character_name
end

#start_map_idObject

Returns the value of attribute start_map_id.



1314
1315
1316
# File 'lib/R3EXS/RGSS3.rb', line 1314

def start_map_id
  @start_map_id
end

#start_xObject

Returns the value of attribute start_x.



1315
1316
1317
# File 'lib/R3EXS/RGSS3.rb', line 1315

def start_x
  @start_x
end

#start_yObject

Returns the value of attribute start_y.



1316
1317
1318
# File 'lib/R3EXS/RGSS3.rb', line 1316

def start_y
  @start_y
end