2019-04-08 17:07:08 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
using System.Windows.Media.Imaging;
|
|
|
|
|
using CzokoŚmieciarka.DataModels.Models;
|
|
|
|
|
using CzokoŚmieciarka.WPFv2.Interfaces;
|
2019-04-21 02:43:36 +02:00
|
|
|
|
using CzokoŚmieciarka.DataModels.Interfaces;
|
2019-04-08 17:07:08 +02:00
|
|
|
|
|
|
|
|
|
namespace CzokoŚmieciarka.WPFv2.Models
|
|
|
|
|
{
|
2019-04-21 02:43:36 +02:00
|
|
|
|
class Road2 : IWPFObject, IRoad
|
2019-04-08 17:07:08 +02:00
|
|
|
|
{
|
|
|
|
|
public string ImagePath { get; set; }
|
|
|
|
|
public Image Image { get; set; }
|
|
|
|
|
public Coords Coords { get; set; }
|
|
|
|
|
|
|
|
|
|
public Road2()
|
|
|
|
|
{
|
|
|
|
|
ImagePath = AppDomain.CurrentDomain.BaseDirectory + @"..\..\Images\intersectionRED.png";
|
|
|
|
|
Image = new Image
|
|
|
|
|
{
|
|
|
|
|
Source = new BitmapImage(new Uri(ImagePath))
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|