import { CustomLocationWaveService } from "https://deno.land/x/sptaki@1.2.0/services/CustomLocationWaveService.d.ts";
Constructors
new
CustomLocationWaveService(logger: ILogger,
randomUtil: RandomUtil,
jsonUtil: JsonUtil,
databaseServer: DatabaseServer,
configServer: ConfigServer,
Properties
protected
configServer: ConfigServerprotected
databaseServer: DatabaseServerprotected
jsonUtil: JsonUtilprotected
locationConfig: ILocationConfigprotected
logger: ILoggerprotected
randomUtil: RandomUtilMethods
addBossWaveToMap(locationId: string, waveToAdd: BossLocationSpawn): void
Add a boss wave to a map
addNormalWaveToMap(locationId: string, waveToAdd: Wave): void
Add a normal bot wave to a map
applyWaveChangesToAllMaps(): void
Add custom boss and normal waves to maps found in config/location.json to db
clearBossWavesForMap(locationId: string): void
Clear all custom boss waves from a map
clearNormalWavesForMap(locationId: string): void
Clear all custom normal waves from a map