-
Notifications
You must be signed in to change notification settings - Fork 0
/
url.js
19 lines (19 loc) · 819 Bytes
/
url.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var URL = function () {
let baseAddress = 'https://kunmiaoyang.github.io/MissileCommand/';
return {
triangles: baseAddress + 'model/triangles.json',
ellipsoids: baseAddress + 'model/ellipsoids.json',
lights: baseAddress + 'model/lights.json',
cityModel: baseAddress + 'model/city.dae',
batteryModel: baseAddress + 'model/battery.dae',
attackMissileModel: baseAddress + 'model/AttackMissile.dae',
defenseMissileModel: baseAddress + 'model/DefenseMissile.dae',
UFOModel: baseAddress + 'model/UFO.dae',
img: {
base: baseAddress + 'img/',
terrain: baseAddress + 'img/terrain.jpg',
background: baseAddress + 'img/background.jpg',
explosion: baseAddress + 'img/explosion.jpg'
}
};
}();