Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CarView" /> class.
        /// </summary>
        /// <param name="model">The model.</param>
        public CarView(AbstractCarViewModel model)
        {
            this.model = model;

            this.InitializeComponent();
            this.CarIcon.Height = SizeEnum.IconSize;
            this.CarIcon.Width = SizeEnum.IconSize;
        }
Esempio n. 2
0
 public void SetUp()
 {
     position1 = new VRPosition(42, 42, 42);
     car = new AmbulanceCarViewModel(position1, 1);
 }
Esempio n. 3
0
 public void SetUp()
 {
     position1 = new VRPosition(42, 42, 42);
     car = new NormalCarViewModel(position1, 1);
 }
Esempio n. 4
0
 public void SetUp()
 {
     position1 = new VRPosition(42, 42, 42);
     car = new FiretruckCarViewModel(position1, 1);
 }