2019-03-27 15:54:50 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Media;
|
|
|
|
|
using CzokoŚmieciarka.DataModels.Interfaces;
|
|
|
|
|
using CzokoŚmieciarka.DataModels.Interfaces.TrashCans;
|
|
|
|
|
using CzokoŚmieciarka.DataModels.Models;
|
2019-04-01 21:53:06 +02:00
|
|
|
|
using CzokoŚmieciarka.WPFv2.Interfaces;
|
2019-03-27 15:54:50 +01:00
|
|
|
|
|
|
|
|
|
namespace CzokoŚmieciarka.WPFv2.Models
|
|
|
|
|
{
|
2019-04-01 21:53:06 +02:00
|
|
|
|
class WPFHouse : IGarbageLocalization, IWPFObject
|
2019-03-27 15:54:50 +01:00
|
|
|
|
{
|
|
|
|
|
public Coords Coords { get; }
|
|
|
|
|
public IEnumerable<ATrashCan> TrashCans { get; set; }
|
2019-04-01 21:53:06 +02:00
|
|
|
|
public string ImagePath { get; set; }
|
2019-03-27 15:54:50 +01:00
|
|
|
|
public ImageBrush ImageBrush { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public WPFHouse(Coords coords, IEnumerable<ATrashCan> trashCans, string imagePath)
|
|
|
|
|
{
|
|
|
|
|
this.Coords = coords;
|
|
|
|
|
this.TrashCans = trashCans;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|