-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathload.rb
44 lines (30 loc) · 1.29 KB
/
load.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#TODO: Use Autoload gem
require 'cgi'
root = File.dirname(__FILE__)
SERVER_DIR = root + "/server/"
require SERVER_DIR + "includes/jsonable.rb"
require SERVER_DIR + "includes/messages.rb"
require SERVER_DIR + "server_connection.rb"
require SERVER_DIR + "fake_connection.rb"
require SERVER_DIR + "models/player.rb"
require SERVER_DIR + "models/chat_log.rb"
require SERVER_DIR + "models/room.rb"
require SERVER_DIR + "models/definitions.rb"
require SERVER_DIR + "models/territory.rb"
require SERVER_DIR + "models/game.rb"
require SERVER_DIR + "models/region.rb"
require SERVER_DIR + "models/card.rb"
require SERVER_DIR + "models/objective.rb"
require SERVER_DIR + "models/ai.rb"
require SERVER_DIR + "models/collection.rb"
require SERVER_DIR + "models/players_collection.rb"
require SERVER_DIR + "models/rooms_collection.rb"
require SERVER_DIR + "models/games_collection.rb"
require SERVER_DIR + "application.rb"
require SERVER_DIR + "controllers/app_controller.rb"
require SERVER_DIR + "controllers/chat_controller.rb"
require SERVER_DIR + "controllers/set_nick_controller.rb"
require SERVER_DIR + "controllers/rooms_controller.rb"
require SERVER_DIR + "controllers/pregame_controller.rb"
require SERVER_DIR + "controllers/definitions_controller.rb"
require SERVER_DIR + "controllers/game_controller.rb"