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

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

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

/**
 * Event occurring when a bot has won the round.
 */
public final class WonRoundEvent extends BotEvent {

    /**
     * Initializes a new instance of the WonRoundEvent class.
     *
     * @param turnNumber is the turn number when the bot won the round.
     */
    public WonRoundEvent(int turnNumber) {
        super(turnNumber);
    }

    /**
     * {@inheritDoc}
     *
     * 

This event is critical. * * @return true */ @Override public boolean isCritical() { return true; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy