@Override
	public void attack(double heading, boolean useDelay) {	
		if(alive){
			if(useDelay == false){
				delay = 0;
			}

			if(delayAttack() == false && ammo > 0){
				Trajectory traj = new Trajectory(this.getXPos(), this.getYPos(), heading);
				Bullet bullet = new Bullet(this.player_id, traj, this.map, this.rand);
				this.map.addLiveBullet(bullet, true);

				ammo--;
			}
		}
	}