Example #1
0
 public LobbyController(UserManager <ApplicationUser> userManager,
                        Arena arena,
                        Hubs.ChatHub chatHubContext,
                        CombatManager combatManager)
 {
     _chatHubContext = chatHubContext;
     _arena          = arena;
     _userManager    = userManager;
     _combatManager  = combatManager;
 }
        //Hubs.ChatHub _chatHubContext;



        //public LobbyController(UserManager<ApplicationUser> userManager, Arena arena, Hubs.ChatHub chatHubContext)
        public LobbyController(UserManager <ApplicationUser> userManager,
                               Arena arena,
                               Hubs.ChatHub chatHubContext,
                               IntoTheArena.Shared.CombatManagement.CombatManager combatManager)
        {
            _chatHubContext = chatHubContext;
            _arena          = arena;
            _userManager    = userManager;
            _combatManager  = combatManager;
            //_chatHub = chatHub;
        }
Example #3
0
 public CombatController(IntoTheArena.Shared.CombatManagement.CombatManager combatManager, Hubs.ChatHub chatHubContext)
 {
     _combatManager  = combatManager;
     _chatHubContext = chatHubContext;
     ;
 }
Example #4
0
 public CombatController(CombatManager combatManager, Hubs.ChatHub chatHubContext)
 {
     _combatManager  = combatManager;
     _chatHubContext = chatHubContext;
     ;
 }