<commit_before>package nl.mvdr.tinustris.gui;

import javafx.scene.Node;
import nl.mvdr.tinustris.model.Block;

/**
 * Creates nodes to represent blocks.
 * 
 * @author <NAME>
 */
@FunctionalInterface
interface BlockCreator {
    /**
     * Creates a node to represent the given block.
     * 
     * @param xCoordinate
     *            x coordinate on screen
     * @param y
     *            y coordinate on screen
     * @param size
     *            size of the block
     * @param block
     *            block to be drawn
     * @param style
     *            style in which to render the block
     * @param numFramesUntilLinesDisappear
     *            the numFramesUntilLinesDisappear property from the game state: the number of frames until the
     *            currently disappearing lines disappear; used for correctly drawing the disappearing block animation
     * @param numFramesSinceLastLock
     *            the numFramesSinceLastLock property from the game state: the number of frames since the last time a
     *            block locked in place; used for correctly drawing the disappearing block animation<commit_msg>Javadoc fix<commit_after>package nl.mvdr.tinustris.gui;

import javafx.scene.Node;
import nl.mvdr.tinustris.model.Block;

/**
 * Creates nodes to represent blocks.
 * 
 * @author <NAME>
 */
@FunctionalInterface
interface BlockCreator {
    /**
     * Creates a node to represent the given block.
     * 
     * @param xCoordinate
     *            x coordinate on screen
     * @param yCoordinate
     *            y coordinate on screen
     * @param size
     *            size of the block
     * @param block
     *            block to be drawn
     * @param style
     *            style in which to render the block
     * @param numFramesUntilLinesDisappear
     *            the numFramesUntilLinesDisappear property from the game state: the number of frames until the
     *            currently disappearing lines disappear; used for correctly drawing the disappearing block animation
     * @param numFramesSinceLastLock
     *            the numFramesSinceLastLock property from the game state: the number of frames since the last time a
     *            block locked in place; used for correctly drawing the disappearing block animation
{'fraction_non_alphanumeric': 0.05410122164048865, 'fraction_numerical': 0.0, 'mean_word_length': 2.2387005649717513, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '257020', 'n_tokens_mistral': 581, 'n_tokens_neox': 561, 'n_words': 228}