track.rb
# Loads each type of track tile
Loads each type of track tile
Loads each type of track tile
def load_all_track_images
  arr = Array.new()
  i = 0
  while (i < TRACK_IMAGES.size)
    arr << load_track_images(TRACK_IMAGES[i])
    i += 1
  end
  puts "Loaded track images"
  arr
end
def load_all_track_images arr = Array . new ( ) i = 0 while ( i < TRACK_IMAGES . size ) arr << load_track_images ( TRACK_IMAGES [ i ] ) i += 1 end puts "Loaded track images" arr end
Loads each type of track tile
Loads each type of track tile