2019-04-22 09:24:16 +02:00
|
|
|
|
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces;
|
|
|
|
|
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 GarbageCollectorContainer : AGarbageCollectorContainer
|
|
|
|
|
{
|
2019-04-23 06:32:35 +02:00
|
|
|
|
public GarbageCollectorContainer(TypeOfGarbage typeOfGarbage, int maxVolume, BasicGarbage garbage) : base(typeOfGarbage, maxVolume,garbage)
|
2019-03-13 18:12:45 +01:00
|
|
|
|
{
|
|
|
|
|
}
|
2019-04-23 06:32:35 +02:00
|
|
|
|
|
|
|
|
|
public override object Clone()
|
|
|
|
|
{
|
|
|
|
|
return new GarbageCollectorContainer((TypeOfGarbage)TypeOfGarbage.Clone(), MaxVolume,(BasicGarbage)Garbage.Clone());
|
|
|
|
|
}
|
2019-03-13 18:12:45 +01:00
|
|
|
|
}
|
|
|
|
|
}
|