26 lines
562 B
TypeScript
26 lines
562 B
TypeScript
import { Region } from '../Region';
|
|
import { Bot } from '../../Bot';
|
|
import { Agent } from '../Agent';
|
|
import { Circuit } from '../Circuit';
|
|
|
|
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;
|
|
}
|
|
|
|
shutdown(): void
|
|
{
|
|
|
|
}
|
|
}
|