public DungeonPlayer(int numIn, DungeonPanel panel)
	{
		setBounds(67,583,170,550);
		setPosition(400,400);
		setSize(50,50);


		owner = panel;
		
		maxHealth = 10;
		heartx = 75;
		PlayerName = "Player 1";
		
		if(numIn == 1)
		{
			playerType = "knight";
			speed = 2;
			health = 10;
			damage = 5;
		}
		else if(numIn == 2)
		{
			playerType = "fire_mage";
			speed = 1;
			health = 8;
			damage = 3;
			ImageIcon abil = new ImageIcon("images/characters/fire_mage/fire_wall.png");
			specialAbil = abil.getImage();
		}
		
		bloody = new ImageIcon("images/characters/" + playerType + "/" + playerType + "_dead.png");
		playerDead= bloody.getImage();




	for(int j = 0; j < 4; j++)
	{
		Image[] array = new Image[12];
		String direction = "";
		if(j == 0)
		{
			direction = "left";
		}
		if(j == 1)
		{
			direction = "right";
		}
		if(j == 2)
		{
			direction = "down";
		}
		if(j == 3)
		{
			direction = "up";
		}

		for(int i = 0; i < 12; i ++)
		{
			String frameName = "";

			if(i <= 2)
			{
				frameName = "images/characters/" + playerType + "/" + playerType + "_" + direction + "_walking.png";
				//System.out.println("0-2");
			}
			if(i == 3 || i == 4 || i == 8 || i == 9)
			{
				frameName = "images/characters/" + playerType + "/" + playerType + "_" + direction + "_face.png";
				//System.out.println("3489");
			}
			if(i >= 5 && i <= 7)
			{
				frameName = "images/characters/" + playerType + "/" + playerType + "_" + direction + "_walking2.png";
				//System.out.println("got It");
			}
			if(i == 10)
			{
				frameName = "images/characters/" + playerType + "/" + playerType + "_" + direction + "_attack.png";
			}
			if(i == 11)
			{
				frameName = "images/characters/" + playerType + "/" + playerType + "_" + direction + "_defend.png";
			}
			ImageIcon picture = new ImageIcon(frameName);
			Image photo = picture.getImage();
			array[i] = photo;
		}
		if(j == 0)
		{
			playerWalkingL = array;
			//System.out.print("A");
		}
		if(j == 1)
		{
			playerWalkingR = array;
			//System.out.print("B");
		}
		if(j == 2)
		{
			playerWalkingD = array;
			//System.out.print("C");
		}
		if(j == 3)
		{
			playerWalkingU = array;
			//System.out.print("D");
		}
	}

}