public PlayersRemover(IPlayerSelector playerSelector, ICityRemoverFactory cityRemoverFactory, IScheduler scheduler, ILocker locker) { this.cityRemoverFactory = cityRemoverFactory; this.scheduler = scheduler; this.locker = locker; this.playerSelector = playerSelector; }
public PlayersRemover CreatePlayersRemover(IPlayerSelector playerSelector) { return(new PlayersRemover(playerSelector, kernel.Get <ICityRemoverFactory>(), kernel.Get <IScheduler>(), kernel.Get <ILocker>())); }