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

com.github.thehilikus.jrobocom.gui.ColourInfoProvider Maven / Gradle / Ivy

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

import java.awt.Color;

/**
 * Interface to give information about colours used
 * 
 * @author hilikus
 */
public interface ColourInfoProvider {
    /**
     * Gets the colour of a particular player
     * 
     * @param teamId the player ID to query
     * @return the colour of the specified team or null if the team doesn't exist
     */
    public Color getTeamColour(int teamId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy