This commit is contained in:
Olivier Gagnon
2022-07-11 15:58:23 -04:00
parent 606f1bf6c4
commit e86a42716c
10 changed files with 5 additions and 17 deletions
-2
View File
@@ -5,8 +5,6 @@ import type { WorkerScript } from "./WorkerScript";
import { makeRuntimeRejectMsg } from "../NetscriptEvaluator";
import { Player } from "../Player";
import { CityName } from "src/Locations/data/CityNames";
import { Settings } from "../Settings/Settings";
import { CONSTANTS } from "../Constants";
type ExternalFunction = (...args: any[]) => any;
export type ExternalAPI = {
-3
View File
@@ -2,9 +2,6 @@
* The environment in which a script runs. The environment holds
* Netscript functions and arguments for that script.
*/
import { NS } from "src/ScriptEditor/NetscriptDefinitions";
import { IMap } from "../types";
export class Environment {
/**
* Parent environment. Used to implement "scope"