2019-04-22 09:24:16 +02:00
|
|
|
|
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces;
|
2019-04-23 06:32:35 +02:00
|
|
|
|
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces.Garbage;
|
2019-04-22 09:24:16 +02:00
|
|
|
|
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces.TrashCans;
|
2019-03-13 18:12:45 +01:00
|
|
|
|
|
2019-04-22 09:24:16 +02:00
|
|
|
|
namespace CzokoŚmieciarka.MonoGameView.DataModels.GeneralModels.Models
|
2019-03-13 18:12:45 +01:00
|
|
|
|
{
|
|
|
|
|
public class TrashCan : ATrashCan
|
|
|
|
|
{
|
|
|
|
|
public TrashCan(ITypeOfGarbage typeOfGarbage, int maxVolume) : base(typeOfGarbage, maxVolume)
|
|
|
|
|
{
|
|
|
|
|
}
|
2019-04-23 06:32:35 +02:00
|
|
|
|
public TrashCan(ITypeOfGarbage typeOfGarbage, int maxVolume, BasicGarbage garbage) : base(typeOfGarbage, maxVolume, garbage)
|
2019-04-08 16:43:52 +02:00
|
|
|
|
{
|
|
|
|
|
}
|
2019-04-23 06:32:35 +02:00
|
|
|
|
|
|
|
|
|
public override object Clone()
|
|
|
|
|
{
|
|
|
|
|
return new TrashCan((TypeOfGarbage) TypeOfGarbage.Clone(), MaxVolume, (BasicGarbage) Garbage.Clone());
|
|
|
|
|
}
|
2019-03-13 18:12:45 +01:00
|
|
|
|
}
|
|
|
|
|
}
|