SetOfColorsGetColor Method |
Agentovi s id index vrati jeho barvu.
Namespace: MAPFsimulatorAssembly: MAPFsimulator (in MAPFsimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Color GetColor(
int index,
int max
)
Public Shared Function GetColor (
index As Integer,
max As Integer
) As Color
public:
static Color GetColor(
int index,
int max
)
static member GetColor :
index : int *
max : int -> Color
Parameters
- index
- Type: SystemInt32
[Missing <param name="index"/> documentation for "M:MAPFsimulator.SetOfColors.GetColor(System.Int32,System.Int32)"]
- max
- Type: SystemInt32
maximalni pocet agentu, pro ktery chceme barvu - na zaklade poctu vybereme prislusnou paletu
Return Value
Type:
Color[Missing <returns> documentation for "M:MAPFsimulator.SetOfColors.GetColor(System.Int32,System.Int32)"]
See Also