public Enemy(Vector2 position, Map map, List<AnimatedSprites> animatedSprites, Camera camera, GraphicsDeviceManager graphics, Texture2D texture, Player _player) : base(position, camera)
        {
            this.map = map;
            hitbox = new Vector4(15, 40, 49, 66); // bästa raden gällande karaktären!
            this.animatedSprites = animatedSprites;
            life = 2;
            giveDamage = 5;
            //velocity = new Vector2(2,2);//speed later
            this.position = position;
            this.graphics = graphics;
            Radius = 13f;
            character = texture;

            player = _player;
            offset = new Vector2(hitbox.X + hitbox.Z, hitbox.Y + hitbox.W) / 2f;

            enemyWidth = character.Width;
            enemyHeight = character.Height;

            LoadContent();
            
        }
        public void StartGame()
        {
            enemyList.Clear();
            AnimatedSprites = new List<Model.AnimatedSprites>();
            map = new Map(camera);
            player = new Player(new Vector2(340, 220), map, AnimatedSprites, camera, gameController, fireballSound);// start positionen för player!
            AnimatedSprites.Add(player);

            player.LoadContent(character);
            
            Tiles.Content = _content;
        }
 public Boss(Vector2 position, Map map, List<AnimatedSprites> animatedSprites, Camera camera, GraphicsDeviceManager graphics, Texture2D texture, Player _player) : base(position, map, animatedSprites, camera, graphics, texture, _player)
 {
     enemySpeed = 1.5f;
     life = 40;
     Radius = 30f;
 }