nl.tudelft.goal.ut2004.visualizer.map
Class TeamShade

Package class diagram package TeamShade
java.lang.Object
  extended by nl.tudelft.goal.ut2004.visualizer.map.TeamShade

public class TeamShade
extends Object

Generator of various colors that are suitable for representation of agents in the map.

Author:
Honza

Constructor Summary
TeamShade()
           
TeamShade(Color personalColor)
           
TeamShade(Color redteam, Color blueTeam)
           
TeamShade(Color personalColor, Color redTeam, Color blueTeam)
           
 
Method Summary
 Color getBlueTeam()
           
 Color getColor(int team)
           
 Color getRedTeam()
           
 void setBlueTeam(Color blueTeam)
           
 void setRedTeam(Color redTeam)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamShade

public TeamShade()

TeamShade

public TeamShade(Color personalColor)

TeamShade

public TeamShade(Color redteam,
                 Color blueTeam)

TeamShade

public TeamShade(Color personalColor,
                 Color redTeam,
                 Color blueTeam)
Method Detail

getColor

public Color getColor(int team)

getRedTeam

public Color getRedTeam()

setRedTeam

public void setRedTeam(Color redTeam)

getBlueTeam

public Color getBlueTeam()

setBlueTeam

public void setBlueTeam(Color blueTeam)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.