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.



1324
1325
1326
1327
1328
1329
1330
1331
# File 'lib/R3EXS/RGSS3.rb', line 1324

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.



1335
1336
1337
# File 'lib/R3EXS/RGSS3.rb', line 1335

def bgm
  @bgm
end

#character_indexObject

Returns the value of attribute character_index.



1334
1335
1336
# File 'lib/R3EXS/RGSS3.rb', line 1334

def character_index
  @character_index
end

#character_nameObject

Returns the value of attribute character_name.



1333
1334
1335
# File 'lib/R3EXS/RGSS3.rb', line 1333

def character_name
  @character_name
end

#start_map_idObject

Returns the value of attribute start_map_id.



1336
1337
1338
# File 'lib/R3EXS/RGSS3.rb', line 1336

def start_map_id
  @start_map_id
end

#start_xObject

Returns the value of attribute start_x.



1337
1338
1339
# File 'lib/R3EXS/RGSS3.rb', line 1337

def start_x
  @start_x
end

#start_yObject

Returns the value of attribute start_y.



1338
1339
1340
# File 'lib/R3EXS/RGSS3.rb', line 1338

def start_y
  @start_y
end