2020-01-06 12:10:40 +00:00
|
|
|
import { Region } from '../Region';
|
|
|
|
|
import { Bot } from '../../Bot';
|
|
|
|
|
import { Agent } from '../Agent';
|
|
|
|
|
import { Circuit } from '../Circuit';
|
2017-12-13 19:55:08 +00:00
|
|
|
|
|
|
|
|
export class CommandsBase
|
|
|
|
|
{
|
|
|
|
|
protected currentRegion: Region;
|
|
|
|
|
protected agent: Agent;
|
|
|
|
|
protected bot: Bot;
|
|
|
|
|
protected circuit: Circuit;
|
|
|
|
|
|
|
|
|
|
constructor(region: Region, agent: Agent, bot: Bot)
|
|
|
|
|
{
|
|
|
|
|
this.currentRegion = region;
|
|
|
|
|
this.agent = agent;
|
|
|
|
|
this.bot = bot;
|
|
|
|
|
this.circuit = this.currentRegion.circuit;
|
|
|
|
|
}
|
2021-09-23 17:14:23 +01:00
|
|
|
|
|
|
|
|
shutdown(): void
|
2018-10-09 20:03:28 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|