Beispiel #1
0
 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);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 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);*/
 }
Beispiel #4
0
        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);*/
        }