public static void enemyMeleeAttackPlayer(Enemy me, Polygon p)
	{		

		boolean[] hits = {false, false, false, false};
		boolean contact = false;
		
		if(p == null)
		{
			//System.out.println("fuck");
		}
		
		if(intersectionOf2Shapes(p, CoreClass.mainCharacter.getUpBox()))
		{
			
			hits[0] = true;
			
			contact = true;
			
		}
		
		if(intersectionOf2Shapes(p, CoreClass.mainCharacter.getDownBox()))
		{
			
			hits[1] = true;
			
			contact = true;
			
		}
		
		if(intersectionOf2Shapes(p, CoreClass.mainCharacter.getRightBox()))
		{
			
			hits[2] = true;
			
			contact = true;
			
		}
		
		if(intersectionOf2Shapes(p, CoreClass.mainCharacter.getLeftBox()))
		{
			
			hits[3] = true;
			
			contact = true;
			
		}
		
		if(contact == true)
		{
			System.out.println("enemy hit");
			CoreClass.mainCharacter.attacked(me.getAttack(), hits);
		}
		
	}