-
Notifications
You must be signed in to change notification settings - Fork 1
/
goblin_like.js
31 lines (26 loc) · 963 Bytes
/
goblin_like.js
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
//== Goblin-Like ===============================================================
//-- Imports -------------------------------------
import client from './client/full_client.js';
//-- Construct Game:
import gameManager from './server/game_manager.js';
import './server/view.js';
import './server/skills.js';
import './server/sound.js';
import './server/enemy.js';
import './server/companion.js';
import './server/items.js';
import './server/map_generator.js';
import './server/models_enemy.js';
//-- Scaffolding (Remove) --------------------------
import mapManager from './server/map_manager.js';
import modelLibrary from './server/model_library.js';
fakeNetwork.client = client;
fakeNetwork.gameManager = gameManager;
fakeNetwork.mapManager = mapManager;
fakeNetwork.modelLibrary = modelLibrary;
//-- Launch Game ---------------------------------
client.setup({
containerId: 'game_area',
font: 'press_start_kregular',
highlightColor: '#fc0'
});