public DungeonEnemy(int num, int rx, int ry)
	{//ENEMY NUMBERS: 1 = GUARD
		
		roomX = rx;
		roomY = ry;
		
		setBounds(67,583,170,550);
		int ex = generator.nextInt(300) + 200;
		int why = generator.nextInt(300) + 200;
		setPosition(ex, why);
		PlayerName = "ENEMY";
		heartx = 375;


		xcla = new ImageIcon("images/misc/exclamation.png");
		exclamation= xcla.getImage();

		bloody = new ImageIcon("images/characters/guard/guard_dead.png");
		guardDead= bloody.getImage();

		if(num ==1)
		{
			setSize(40,50);
			speed = 3;
			health = 6;
			maxHealth = 6;
			PlayerName = "Guard";

		}

		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/guard/guard_" + direction + "_walking.png";
					//System.out.println("0-2");
				}
				if(i == 3 || i == 4 || i == 8 || i == 9)
				{
					frameName = "images/characters/guard/guard_" + direction + "_face.png";
					//System.out.println("3489");
				}
				if(i >= 5 && i <= 7)
				{
					frameName = "images/characters/guard/guard_" + direction + "_walking2.png";
					//System.out.println("got It");
				}
				if(i == 10)
				{
					frameName = "images/characters/guard/guard_" + direction + "_attack.png";
				}
				if(i == 11)
				{
					frameName = "images/characters/guard/guard_" + direction + "_defend.png";
				}
				ImageIcon picture = new ImageIcon(frameName);
				Image photo = picture.getImage();
				array[i] = photo;
			}
			if(j == 0)
			{
				enemyWalkingL = array;
				//System.out.print("A");
			}
			if(j == 1)
			{
				enemyWalkingR = array;
				//System.out.print("B");
			}
			if(j == 2)
			{
				enemyWalkingD = array;
				//System.out.print("C");
			}
			if(j == 3)
			{
				enemyWalkingU = array;
				//System.out.print("D");
			}
		}

	}