CSGO-Projects/DamageCalculator/DamageCalculator/ctrlPlayerSpawn.xaml.cs
MathiasL b6a5fb6612 Improve bomb placing mode and add spawns
* Now show spawns from BSP parsing, priority spawns are lighter than normal ones
* Add possibility to not display certain things via the View menu
* Add help menu
* Add bomb code credits for pasta
* Show extra info in bottom left corner: bomb damage and radius, and if a BSP or NAV has been found for the map
* Correctly renamed previous help menu entry to "about"
2022-03-17 22:20:03 +01:00

43 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace Damage_Calculator
{
/// <summary>
/// Interaction logic for ctrlPlayerSpawn.xaml
/// </summary>
public partial class ctrlPlayerSpawn : UserControl
{
public ctrlPlayerSpawn()
{
InitializeComponent();
}
public void SetColour(Color colour)
{
this.ellipse.Stroke = this.rectangle.Fill = new SolidColorBrush(colour);
}
public void SetEllipseFill(Color colour)
{
this.ellipse.Fill = new SolidColorBrush(colour);
}
public void SetRotation(double angle)
{
gridControl.RenderTransform = new RotateTransform(angle);
}
}
}