src/gameplayer/controller/Controller.java
private void initializeGameAnimation() {
        KeyFrame frame = new KeyFrame(Duration.millis(MILLISECOND_DELAY),
                e -> step(SECOND_DELAY));
        animation = new Timeline();
        animation.setCycleCount(Timeline.INDEFINITE);
        animation.getKeyFrames().add(frame);
        startRendering(SECOND_DELAY);
        animation.play();
    }
/**
     * Begins the animation cycle count of the animation after game has started
     */
Begins the animation cycle count of the animation after game has started
Begins the animation cycle count of the animation after game has started
private void initializeGameAnimation() {
        KeyFrame frame = new KeyFrame(Duration.millis(MILLISECOND_DELAY),
                e -> step(SECOND_DELAY));
        animation = new Timeline();
        animation.setCycleCount(Timeline.INDEFINITE);
        animation.getKeyFrames().add(frame);
        startRendering(SECOND_DELAY);
        animation.play();
    }
private void initializeGameAnimation ( ) { KeyFrame frame = new KeyFrame ( Duration . millis ( MILLISECOND_DELAY ) , e -> step ( SECOND_DELAY ) ) ; animation = new Timeline ( ) ; animation . setCycleCount ( Timeline . INDEFINITE ) ; animation . getKeyFrames ( ) . add ( frame ) ; startRendering ( SECOND_DELAY ) ; animation . play ( ) ; }
Begins the animation cycle count of the animation after game has started
Begins the animation cycle count of the animation after game has started