18 lines
649 B
C#
18 lines
649 B
C#
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces;
|
|
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces.TrashCans;
|
|
|
|
namespace CzokoŚmieciarka.MonoGameView.DataModels.GeneralModels.Models
|
|
{
|
|
public class GarbageCollectorContainer : AGarbageCollectorContainer
|
|
{
|
|
public GarbageCollectorContainer(TypeOfGarbage typeOfGarbage, int maxVolume, BasicGarbage garbage) : base(typeOfGarbage, maxVolume,garbage)
|
|
{
|
|
}
|
|
|
|
public override object Clone()
|
|
{
|
|
return new GarbageCollectorContainer((TypeOfGarbage)TypeOfGarbage.Clone(), MaxVolume,(BasicGarbage)Garbage.Clone());
|
|
}
|
|
}
|
|
}
|