コード例 #1
0
        public HeroController(MainController mainController)
        {
            this.mainController = mainController;

            this.attributeController    = new AttributeController(mainController);
            this.lanePresenceController = new LanePresenceController(mainController);
            this.statController         = new StatController(mainController);
            this.versusController       = new VersusController(mainController);
            this.abilityController      = new AbilityController(mainController);

            this.mappedHeros = new List <Hero>();

            LoadAllHeroes();
        }
コード例 #2
0
 internal MatchController(MainController mainController)
 {
     this.mainController    = mainController;
     this.abilityController = new AbilityController(mainController);
 }