using Otter;

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

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