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

com.github.thehilikus.jrobocom.WorldInfo Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta-02
Show newest version
package com.github.thehilikus.jrobocom;

/**
 * Provides information about the worl
 * 
 * @author hilikus
 * 
 */
public interface WorldInfo {

    /**
     * Number of friend or foe robots
     * 
     * @param teamId id of the team to search for
     * @param invert if true, returns number of robots not in the specified team
     * @return the number of robots in the specified group
     */
    public int getBotsCount(int teamId, boolean invert);

    /**
     * @return number of cycles elapsed / 1000
     */
    public int getWorldAge();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy