2023-03-22 04:05:49 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# first, third-party libraries
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'lib/coalesce.rb'
|
2023-03-08 03:06:29 +00:00
|
|
|
|
2023-03-22 04:05:49 +00:00
|
|
|
# then, some basic classes required for lists of assets
|
|
|
|
require 'app/sprite_instance.rb'
|
2023-03-23 05:16:35 +00:00
|
|
|
require 'app/sound_instance.rb'
|
2023-03-22 04:05:49 +00:00
|
|
|
|
|
|
|
# then, asset lists
|
|
|
|
require 'sprites/_list.rb'
|
2023-03-23 05:16:35 +00:00
|
|
|
require 'sounds/_list.rb'
|
|
|
|
require 'music/_list.rb'
|
2023-03-22 04:05:49 +00:00
|
|
|
|
|
|
|
# then, utility classes
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'app/input.rb'
|
|
|
|
require 'app/sprite.rb'
|
|
|
|
require 'app/util.rb'
|
2023-03-22 04:05:49 +00:00
|
|
|
require 'app/sound.rb'
|
2023-03-23 05:16:35 +00:00
|
|
|
require 'app/music.rb'
|
2023-03-08 03:06:29 +00:00
|
|
|
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'app/constants.rb'
|
|
|
|
require 'app/menu.rb'
|
|
|
|
require 'app/scene.rb'
|
|
|
|
require 'app/game_setting.rb'
|
|
|
|
require 'app/text.rb'
|
2023-03-08 03:06:29 +00:00
|
|
|
|
2023-03-22 04:05:49 +00:00
|
|
|
# then, the scenes
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'app/scenes/gameplay.rb'
|
|
|
|
require 'app/scenes/main_menu.rb'
|
|
|
|
require 'app/scenes/paused.rb'
|
|
|
|
require 'app/scenes/settings.rb'
|
|
|
|
require 'app/scenes/cube_tube.rb'
|
2023-03-08 03:44:14 +00:00
|
|
|
|
2023-03-22 04:05:49 +00:00
|
|
|
# finally, the main tick
|
|
|
|
# NOTE: add all other requires above this
|
2023-03-21 05:34:34 +00:00
|
|
|
require 'app/tick.rb'
|