Czoko_Smieciarka/Trunk/MonoGameView/DataModels/Models/GarbageCollectorContainer.cs

18 lines
649 B
C#
Raw Normal View History

using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces;
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces.TrashCans;
2019-03-13 18:12:45 +01: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
}
}