public TeamsController(GameControllerContext context, IGameControllerTeam teams, IGameControllerWaypoint waypoints, IGameControllerAdventureSession sessions) { _context = context; _teams = teams; _waypoints = waypoints; _sessions = sessions; }
private static void ComboBoxOnSelectionChanged(object sender, SelectionChangedEventArgs selectionChangedEventArgs) { IGameViewModel gameViewModel = (sender as ComboBox).DataContext as IGameViewModel; var selectedGame = (KeyValuePair <string, IGame>)(selectionChangedEventArgs.AddedItems[0]); IGameControllerContext gameControllerContext = new GameControllerContext { Game = selectedGame.Value, GameMode = gameViewModel.GameMode }; gameViewModel.GameControllerCommand.Execute(gameControllerContext); gameViewModel.StartGameCommand.Execute(gameViewModel.GameMode); }
public MessagesController(GameControllerContext context) { _context = context; }
public AdventureSessionsController(GameControllerContext context) { _context = context; }
public ChallengesController(GameControllerContext context) { _context = context; }
public GameControllerAdventureSessionService(GameControllerContext context) { _context = context; }
public StudentsManagementController(GameControllerContext context) { _context = context; }
public WaypointsController(GameControllerContext context) { _context = context; }
public MapsController(GameControllerContext context) { _context = context; }
public StudentsController(GameControllerContext context) { _context = context; }
public LocationController(GameControllerContext context) { _context = context; }
public AdventuresManagementController(GameControllerContext context) { _context = context; }
public ChallengesManagementController(GameControllerContext context) { _context = context; }
public AdventureMapsController(GameControllerContext context) { _context = context; }
public GameControllerTeamService(GameControllerContext context) { _context = context; }
public SubmissionsController(GameControllerContext context) { _context = context; }
public GameControllerWaypointService(GameControllerContext context) { _context = context; }
public WaypointsManagementController(GameControllerContext context) { _context = context; }
public MessagesManagementController(GameControllerContext context) { _context = context; }