Exemple #1
0
 public Chatter(Chat chat, Config cfg, SlotObservation observation, BotManager bots)
 {
     _chat        = chat;
     _cfg         = cfg;
     _observation = observation;
     _bots        = bots;
 }
Exemple #2
0
 public Autobalancer(CustomGame cg, SlotObservation observation, BotManager bots, SlotManipulation manipulation)
 {
     _cg           = cg;
     _observation  = observation;
     _bots         = bots;
     _manipulation = manipulation;
 }
Exemple #3
0
 public BotManager(Config cfg, AI ai, SlotObservation observation, Resetter resetter)
 {
     _cfg         = cfg;
     _ai          = ai;
     _observation = observation;
     _resetter    = resetter;
 }
Exemple #4
0
 public TeamScrambler(CustomGame cg, Config cfg, BotManager bots, SlotObservation observation,
                      SlotManipulation manipulation)
 {
     _cg           = cg;
     _cfg          = cfg;
     _bots         = bots;
     _observation  = observation;
     _manipulation = manipulation;
 }
Exemple #5
0
    public GameManager(CustomGame cg, Config cfg)
    {
        Cg  = cg;
        Cfg = cfg;

        DebugUtils.Debug = Cfg.Debug;
        DebugUtils.Cg    = Cg;

        Observation  = new SlotObservation(cg);
        Manipulation = new SlotManipulation(Observation, Cg.Interact);

        Resetter resetter = new Resetter(Cg);

        Bots         = new BotManager(cfg, cg.AI, Observation, resetter);
        Scrambler    = new TeamScrambler(Cg, Cfg, Bots, Observation, Manipulation);
        Autobalancer = new Autobalancer(Cg, Observation, Bots, Manipulation);

        Chatter = new Chatter(Cg.Chat, Cfg, Observation, Bots);
        Match   = new MatchTracker(Chatter, Cg);
    }
Exemple #6
0
 public SlotManipulation(SlotObservation observation, Interact interact)
 {
     _observation = observation;
     _interact    = interact;
 }