All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.robocode.tankroyale.botapi.events.RoundStartedEvent Maven / Gradle / Ivy

There is a newer version: 0.26.1
Show newest version
package dev.robocode.tankroyale.botapi.events;

/**
 * Event occurring when a new round has just started.
 */
@SuppressWarnings("unused")
public final class RoundStartedEvent implements IEvent {

    // The round number.
    private final int roundNumber;

    /**
     * Initializes a new instance of the RoundStartedEvent class.
     *
     * @param roundNumber is the round number.
     */
    public RoundStartedEvent(int roundNumber) {
        this.roundNumber = roundNumber;
    }

    /**
     * Returns the round number.
     *
     * @return The round number.
     */
    public int getRoundNumber() {
        return roundNumber;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy