From ab22f40d86b5f6d3689697691bc02df358a8a4ca Mon Sep 17 00:00:00 2001 From: techmatt101 Date: Wed, 26 Nov 2014 05:06:05 +0000 Subject: [PATCH] moved worker folder --- src/core/ai/ZombieAI.ts | 4 ++-- src/core/render/LightFilter.ts | 2 +- src/{core => }/workers/ai.js | 0 src/{core => }/workers/helpers.js | 0 src/{core => }/workers/lighting.js | 0 src/{core => }/workers/raytracing.js | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename src/{core => }/workers/ai.js (100%) rename src/{core => }/workers/helpers.js (100%) rename src/{core => }/workers/lighting.js (100%) rename src/{core => }/workers/raytracing.js (100%) diff --git a/src/core/ai/ZombieAI.ts b/src/core/ai/ZombieAI.ts index 66a4b51..1a879e9 100644 --- a/src/core/ai/ZombieAI.ts +++ b/src/core/ai/ZombieAI.ts @@ -1,4 +1,4 @@ -var aiWorker = new Worker("core/workers/ai.js"); //TODO: UBER HACK!!!! +var aiWorker = new Worker("workers/ai.js"); //TODO: UBER HACK!!!! class ZombieAI implements IAI { private _zombie : Entity; @@ -6,7 +6,7 @@ class ZombieAI implements IAI { private _canSeePlayer = false; - //private _worker = new Worker("core/workers/ai.js"); + //private _worker = new Worker("workers/ai.js"); private _workerWorking = false; private _headingLocation = new Vector(40,40); diff --git a/src/core/render/LightFilter.ts b/src/core/render/LightFilter.ts index 8450b6c..a0276fb 100644 --- a/src/core/render/LightFilter.ts +++ b/src/core/render/LightFilter.ts @@ -3,7 +3,7 @@ class LightFilter implements IUpdate, IFilter { private _lightSource = new Vector(0, 0); private _polygons = []; - private _worker = new Worker("core/workers/lighting.js"); + private _worker = new Worker("workers/lighting.js"); private _workerWorking = false; private _visionImage : HTMLImageElement; diff --git a/src/core/workers/ai.js b/src/workers/ai.js similarity index 100% rename from src/core/workers/ai.js rename to src/workers/ai.js diff --git a/src/core/workers/helpers.js b/src/workers/helpers.js similarity index 100% rename from src/core/workers/helpers.js rename to src/workers/helpers.js diff --git a/src/core/workers/lighting.js b/src/workers/lighting.js similarity index 100% rename from src/core/workers/lighting.js rename to src/workers/lighting.js diff --git a/src/core/workers/raytracing.js b/src/workers/raytracing.js similarity index 100% rename from src/core/workers/raytracing.js rename to src/workers/raytracing.js