using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;

namespace WindowsGame1
{
    class Seed : GameObject
    {
        public Seed(PlayerIndex index)
            : base()
        {
            this.PlayerIndex = index;
        }

        public PlayerIndex PlayerIndex;
        public bool IsDead;

        public override void Update(Microsoft.Xna.Framework.GameTime gameTime)
        {
            this.DestinationRect.X += 10;
            if (this.DestinationRect.X > 2000 || this.DestinationRect.Y > 1000)
            {
                IsDead = true;
            }

            base.Update(gameTime);
        }
    }
}
