using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using ShootingHero.Scene;
using Microsoft.Xna.Framework;
using ShootingHero.Components.Manager;
using ShootingHero.Components.Bullets.PlayerBullet;

namespace ShootingHero.Components.Players
{
	public class Airsell : Player
	{
		public Airsell ( Game game )
			: base ( game, Character.Gloria )
		{ 
		
		}

		protected override void LoadContent ()
		{
			base.LoadContent ();
			Animation.Texture = Game.Content.Load<Texture2D> ( "Character/airsell" );
		}

		public override void ShootBullet ( BulletManager bulletManager )
		{
			bulletManager.Add ( new AirsellBullet ( Game, X, Y - 40, ( IsSuperMode ) ? 5 : Level, false ) );
		}

		public override void Boom ( BulletManager bulletManager )
		{
			bulletManager.Add ( new AirsellBullet ( Game, X - 100, Y - 40, 5, true ) );
			bulletManager.Add ( new AirsellBullet ( Game, X, Y - 40, 5, true ) );
			bulletManager.Add ( new AirsellBullet ( Game, X + 100, Y - 40, 5, true ) );
		}
	}
}
