<commit_before>package com.d2fn.passage.cards;

/**
 * CardSketch
 * @author <NAME>
 */
public class CardSketch {

}<commit_msg>base runner sketch for card stack<commit_after>package com.d2fn.passage.cards;

import com.d2fn.passage.Sketch;
import processing.event.KeyEvent;
import processing.event.MouseEvent;

import java.awt.event.MouseWheelEvent;

/**
 * CardSketch
 * @author <NAME>
 */
public abstract class CardSketch extends Sketch {

    protected Card<?, ?> card;

    @Override
    public void renderFrame() {
        if(card.done()) {
            card = card.next();
        }
        card.renderFrame();
    }

    @Override
    public void mouseWheelMoved(MouseWheelEvent e) {
        card.mouseWheelMoved(e);
    }

    @Override
    public void mousePressed() {
        card.mousePressed();
    }

    @Override
    public void mousePressed(MouseEvent event) {
        card.mousePressed(event);
    }

    @Override
    public void mouseReleased() {
        card.mouseReleased();
    }

    @Override
    public void mouseReleased(MouseEvent event) {
        card.mouseReleased(event);
    }

    @Override
    public void mouseClicked() {
        card.mouseClicked();
    }

    @Override
    public void mouseClicked(MouseEvent event) {
        card.mouseClicked(event);
    }

    @Override
    public void mouseDragged() {
        card.mouseDragged();
    }

    @Override
    public void mouseDragged(MouseEvent event) {
        card.mouseDragged(event);
    }

    @Override
    public void mouseMoved() {
        card.mouseMoved();
    }

    @Override
    public void mouseMoved(MouseEvent event) {
        card.mouseMoved(event);
    }

    @Override
    public void mouseEntered() {
        card.mouseEntered();
    }

    @Override
    public void mouseEntered(MouseEvent event) {
        card.mouseEntered(event);
    }

    @Override
    public void mouseExited() {
        card.mouseExited();
    }

    @Override
    public void mouseExited(MouseEvent event) {
        card.mouseExited(event);
    }

    @Override
    public void mouseWheel() {
        card.mouseWheel();
    }

    @Override
    public void mouseWheel(MouseEvent event) {
        card.mouseWheel(event);
    }

    @Override
    public void keyPressed(KeyEvent e) {
        card.keyPressed(e);
    }
}
{'fraction_non_alphanumeric': 0.10478260869565217, 'fraction_numerical': 0.0013043478260869566, 'mean_word_length': 2.3838235294117647, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1456712', 'n_tokens_mistral': 719, 'n_tokens_neox': 697, 'n_words': 143}