Inventory skeleton refactor

This commit is contained in:
Casper Warden
2017-12-19 23:43:00 +00:00
parent 4743dbfeec
commit 7987f5b379
27 changed files with 304 additions and 90 deletions

View File

@@ -9,6 +9,7 @@ import {GridCommands} from './commands/GridCommands';
import {CommunicationsCommands} from './commands/CommunicationsCommands';
import {AgentCommands} from './commands/AgentCommands';
import {GroupCommands} from './commands/GroupCommands';
import {InventoryCommands} from './commands/InventoryCommands';
export class ClientCommands
{
@@ -20,6 +21,7 @@ export class ClientCommands
public comms: CommunicationsCommands;
public agent: AgentCommands;
public group: GroupCommands;
public inventory: InventoryCommands;
constructor(region: Region, agent: Agent, bot: Bot)
{
@@ -31,5 +33,6 @@ export class ClientCommands
this.comms = new CommunicationsCommands(region, agent, bot);
this.agent = new AgentCommands(region, agent, bot);
this.group = new GroupCommands(region, agent, bot);
this.inventory = new InventoryCommands(region, agent, bot);
}
}