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

22 lines
775 B
C#
Raw Normal View History

using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces;
2019-04-23 06:32:35 +02:00
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces.Garbage;
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 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
}
}