using Otter;

namespace Puppyups.objects
{
    class Plant : Entity
    {
        private Spritemap<string> _spriteMap;

        public Plant(float x, float y)
        {
            X = x; Y = y;
            _spriteMap = new Spritemap<string>(Assets.PLANT, 32, 32);
            _spriteMap.Add("main", new int[] { 0 }, new float[] { 7f, 7f });
            _spriteMap.Play("main");
            _spriteMap.CenterOrigin();
            Graphic = _spriteMap;
        }
    }
}
