using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Diagnostics;

namespace ShootingHero.Components.Bullets.PlayerBullet
{
	public class RemeinBullet : HeroBullet
	{
		static Texture2D [] bullets = new Texture2D [ 5 ];

		public RemeinBullet ( Game game, float x, float y, int level )
			: base ( game, x, y, 0, 3 )
		{
			if ( bullets [ level - 1 ] == null || bullets [ level - 1 ].IsDisposed )
				bullets [ level - 1 ] = Game.Content.Load<Texture2D> ( "Bullet/rimain_bullet" + level.ToString () );
			Texture = bullets [ level - 1 ];
			Width = Texture.Width;
			Power = level;
		}
	}
}
