public HeatmapService(MapService mapService, Demo demo, ComboboxSelector eventSelector, ComboboxSelector sideSelector, PlayerExtended selectedPlayer, Round selectedRound)
		{
			MapService = mapService;
			_demo = demo;
			_eventSelector = eventSelector;
			_sideSelector = sideSelector;
			_selectedPlayer = selectedPlayer;
			_selectedRound = selectedRound;
		}
Example #2
0
		public DrawService(MapService mapService)
		{
			MapService = mapService;
			OverviewLayer = mapService.GetWriteableImage();
			WeaponLayer = BitmapFactory.New(MapService.ResX, MapService.ResY);
			KillLayer = BitmapFactory.New(MapService.ResX, MapService.ResY);
			SmokeLayer = BitmapFactory.New(MapService.ResX, MapService.ResY);
			FlashbangLayer = BitmapFactory.New(MapService.ResX, MapService.ResY);
			HegrenadeLayer = BitmapFactory.New(MapService.ResX, MapService.ResY);
			DecoyLayer = BitmapFactory.New(MapService.ResX, MapService.ResY);
			MolotovLayer = BitmapFactory.New(MapService.ResX, MapService.ResY);
			PlayerMarkerLayer = BitmapFactory.New(MapService.ResX, MapService.ResY);
		}