public boolean redRayWillFire(BetterSprite playersprite) {
   return (playersprite.getY() > this.getY() + this.getHeight() / 4
       && playersprite.getY() < this.getY() + 3 * this.getHeight() / 4
       && playersprite.getX() < this.getX()
       && redRayReloaded
       && this.isActive());
 }
 public BetterSprite fireTopBeam() {
   BetterSprite beam =
       new BetterSprite(
           Resources.getImage("reacherBeamImage"),
           this.getX(),
           this.getY() + this.getHeight() / 7);
   beam.setHorizontalSpeed(-REACHER_BEAM_SPEED);
   fireTopBeamTimer = new Timer(REACHER_BEAM_RELOAD_TIME);
   topBeamReloaded = false;
   return beam;
 }
 public BetterSprite fireRedRay() {
   BetterSprite redray =
       new BetterSprite(
           Resources.getImage("reacherRedRayImage"),
           this.getX() + this.getWidth() / 4,
           this.getY() + 3 * this.getHeight() / 7);
   redray.setHorizontalSpeed(-REACHER_REDRAY_SPEED);
   fireRedRayTimer = new Timer(REACHER_REDRAY_RELOAD_TIME);
   redRayReloaded = false;
   return redray;
 }