using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CzokoŚmieciarka.MonoGameView.DataModels.Interfaces;
using CzokoŚmieciarka.MonoGameView.DataModels.Models;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace MonoGameView.DataModels.Models
{
    public class Grass : IDrawables
    {
        private Coords Coords;

        public Grass(Coords coords)
        {
            Coords = coords;
        }

        public object Clone()
        {
            return new Grass((Coords)Coords.Clone());
        }

        public void Draw(SpriteBatch batch, int size, int width)
        {
            batch.Draw(ImageContainer.GetImage("grass"), new Rectangle(Coords.X * width / size, Coords.Y * width / size, width / size, width / size), Color.White);
        }


    }
}