private void meleeAttack() 
	{
		if(attacking == false)
		{
			
			
		attacking = true;

				switch(this.getDirection())
				{
				
					case 1:
						
							this.setxPos(this.getxPos() + (this.idleImages(1).getWidth(null) / 2) - (this.attackImage(1).getWidth(null) / 2));
							
							this.setyPos(this.getyPos() - (this.attackImage(1).getHeight(null) / 2));
								
							this.setPic(this.attackImage(1));
							
							
								attackTimer.start();
									
								WhenShitHits.enemyMeleeAttackPlayer(this, getNorthAttackBox());

								
							
					
						break;
				
					case 2:

						this.setyPos(this.getyPos() - (this.attackImage(1).getHeight(null) / 2));
							
						this.setPic(this.attackImage(2));
						
						attackTimer.start();
								
						
						WhenShitHits.enemyMeleeAttackPlayer(this, getNorthEastAttackBox());

							
						
				
					break;
						
					case 3:
		
						this.setyPos(this.getyPos() - (this.attackImage(1).getHeight(null) / 2));
							
						this.setPic(this.attackImage(3));
						
						attackTimer.start();
								

						WhenShitHits.enemyMeleeAttackPlayer(this, getEastAttackBox());
						
				
					break;
						
					case 4:
		
						this.setPic(this.attackImage(4));
						
						attackTimer.start();
								

						WhenShitHits.enemyMeleeAttackPlayer(this, getSouthEastAttackBox());
							
						
				
					break;
						
					case 5:
						
						this.setxPos(this.getxPos() - (this.idleImages(1).getWidth(null)));
							
						this.setPic(this.attackImage(5));
						
						attackTimer.start();
								
		
						WhenShitHits.enemyMeleeAttackPlayer(this, getSouthAttackBox());
						
				
						
						break;
						
					case 6:
						
						this.setxPos(this.getxPos() - (this.attackImage(1).getWidth(null) / 2));

						this.setPic(this.attackImage(6));
						
						attackTimer.start();
								
						WhenShitHits.enemyMeleeAttackPlayer(this, getSouthWestAttackBox());
				
					break;
						
					case 7:
						
						this.setxPos(this.getxPos() - (this.attackImage(1).getWidth(null) / 2));
						
						this.setyPos(this.getyPos() - (this.attackImage(1).getHeight(null) / 2));
							
						this.setPic(this.attackImage(7));
						
						attackTimer.start();
								
						
						WhenShitHits.enemyMeleeAttackPlayer(this, getWestAttackBox());
							
						
				
					break;
						
					case 8:
						
						this.setxPos(this.getxPos() - (this.attackImage(1).getWidth(null) / 2));
						
						this.setyPos(this.getyPos() - (this.attackImage(1).getHeight(null) / 2));
							
						this.setPic(this.attackImage(8));
						
						attackTimer.start();
								
						WhenShitHits.enemyMeleeAttackPlayer(this, getNorthWestAttackBox());

							
						
				
					break;
				}
				

		}

		
	}