public void OnConnect() { subBotHandler = new SubBots.SubBotHandler(); this.room = new Room(this); subBotHandler.AddSubBot(room, this); subBotHandler.AddSubBot(new PlayerPhysics(this), this); subBotHandler.AddSubBot(new Commands(this), this); subBotHandler.AddSubBot(new Zombies(this), this); subBotHandler.AddSubBot(new WorldEdit(this), this); subBotHandler.AddSubBot(new Dig(this), this); subBotHandler.AddSubBot(new MazeGenerator(this), this); subBotHandler.AddSubBot(new Redstone(this), this); }
public Bot(Form1 form) : base(form) { subBotHandler = new SubBots.SubBotHandler(); /*this.room = new Room(this); subBotHandler.AddSubBot(room, this); subBotHandler.AddSubBot(new PlayerPhysics(this), this); subBotHandler.AddSubBot(new Commands(this), this); subBotHandler.AddSubBot(new Zombies(this), this); subBotHandler.AddSubBot(new WorldEdit(this), this); subBotHandler.AddSubBot(new Dig(this), this); subBotHandler.AddSubBot(new MazeGenerator(this), this);*/ }
public Bot(Form1 form) : base(form) { subBotHandler = new SubBots.SubBotHandler(); /*this.room = new Room(this); * subBotHandler.AddSubBot(room, this); * subBotHandler.AddSubBot(new PlayerPhysics(this), this); * subBotHandler.AddSubBot(new Commands(this), this); * subBotHandler.AddSubBot(new Zombies(this), this); * subBotHandler.AddSubBot(new WorldEdit(this), this); * subBotHandler.AddSubBot(new Dig(this), this); * subBotHandler.AddSubBot(new MazeGenerator(this), this);*/ }