class SecondScreen implements GazeMotionListener {

    public void light(final Point2D rawCoordinates) {
        final int x = (int) (rawCoordinates.getX() / pixelWidth);
        final int y = (int) (rawCoordinates.getY() / pixelWidth);

        if ((x < 0 || x >= lightingArray.length) ||
            (y < 0 || y >= lightingArray[x].length)) {
            return;
        }

        lightingArray[x][y].enter();
    }

      SecondScreen(final Stage stage2, final Lighting[][] lightingArray);

}