42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Net.Mime;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Windows.Controls;
|
|||
|
using System.Windows.Media;
|
|||
|
using System.Windows.Media.Imaging;
|
|||
|
using CzokoŚmieciarka.DataModels.Models;
|
|||
|
using CzokoŚmieciarka.MonoGame.Interfaces;
|
|||
|
|
|||
|
namespace CzokoŚmieciarka.MonoGame.Models
|
|||
|
{
|
|||
|
class Road : IWPFObject
|
|||
|
{
|
|||
|
public MediaTypeNames.Image Image
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return new MediaTypeNames.Image
|
|||
|
{
|
|||
|
Source = new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + @"..\..\Images\intersection.png")),
|
|||
|
Width = 100,
|
|||
|
Height = 100
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public Road()
|
|||
|
{
|
|||
|
//Image = new Image()
|
|||
|
//{
|
|||
|
// Source =
|
|||
|
// new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + @"..\..\Images\intersection.png"))
|
|||
|
//};
|
|||
|
}
|
|||
|
|
|||
|
public Coords Coords { get; set; }
|
|||
|
}
|
|||
|
}
|