Ping / circuit latency, break out commands, add typing function for IM, add thinkingTime and charactersPerSecond parameters to typing functions
This commit is contained in:
20
lib/classes/commands/CommandsBase.ts
Normal file
20
lib/classes/commands/CommandsBase.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user