Czoko_Smieciarka/Trunk/Interface/CzokoŚmieciarka.MonoGame/Models/Road.cs

42 lines
1.1 KiB
C#
Raw Permalink Normal View History

2019-04-21 15:05:06 +02:00
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; }
}
}