Na zaklade id agenta mu priradi urcitou barvu, kterou je vykreslovan v grafu.
Podporuje az 104 unikatnich barev, dale uz se opakuje.
Namespace: MAPFsimulatorAssembly: MAPFsimulator (in MAPFsimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Color GetColor(
int agentID
)
Public Function GetColor (
agentID As Integer
) As Color
public:
Color GetColor(
int agentID
)
member GetColor :
agentID : int -> Color
Parameters
- agentID
- Type: SystemInt32
[Missing <param name="agentID"/> documentation for "M:MAPFsimulator.MapfView.GetColor(System.Int32)"]
Return Value
Type:
Color[Missing <returns> documentation for "M:MAPFsimulator.MapfView.GetColor(System.Int32)"]
See Also