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

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

The newest version!
package dev.robocode.tankroyale.botapi.events;

/**
 * Event occurring when the bot has skipped a turn, meaning that no intent has reached the server
 * for a specific turn.
 */
public final class SkippedTurnEvent extends BotEvent {

    /**
     * Initializes a new instance of the SkippedTurnEvent class.
     *
     * @param turnNumber is the turn number which was skipped.
     */
    public SkippedTurnEvent(int turnNumber) {
        super(turnNumber);
    }

    /**
     * {@inheritDoc}
     *
     * 

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy