Class KaijuMovementManager
Cache KaijuMovement objects for reuse.
Inheritance
Namespace: KaijuSolutions.Agents.Movement
Syntax
public static class KaijuMovementManager
Properties
EditorEvadeColor
Color for evade visuals in the editor.
Declaration
public static Color EditorEvadeColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
EditorFleeColor
Color for flee visuals in the editor.
Declaration
public static Color EditorFleeColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
EditorObstacleAvoidanceColor
Color for obstacle avoidance visuals in the editor.
Declaration
public static Color EditorObstacleAvoidanceColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
EditorPathFollowColor
Color for path following visuals in the editor.
Declaration
public static Color EditorPathFollowColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
EditorPursueColor
Color for pursue visuals in the editor.
Declaration
public static Color EditorPursueColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
EditorSeekColor
Color for seek visuals in the editor.
Declaration
public static Color EditorSeekColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
EditorSeparationColor
Color for separation visuals in the editor.
Declaration
public static Color EditorSeparationColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
EditorVisualizationsAll
Handle if all editor visualizations should be rendered or only the selected KaijuAgent.
Declaration
public static bool EditorVisualizationsAll { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
EditorVisualizationsLabels
If labels should be displayed with editor visualizations.
Declaration
public static bool EditorVisualizationsLabels { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
EditorWanderColor
Color for wander visuals in the editor.
Declaration
public static Color EditorWanderColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Methods
EditorResetColors()
Reset all colors in the editor.
Declaration
public static void EditorResetColors()
EditorResetEvadeColor()
Reset the evade color in the editor.
Declaration
public static void EditorResetEvadeColor()
EditorResetFleeColor()
Reset the seek color in the editor.
Declaration
public static void EditorResetFleeColor()
EditorResetObstacleAvoidanceColor()
Reset the obstacle avoidance color in the editor.
Declaration
public static void EditorResetObstacleAvoidanceColor()
EditorResetPathFollowColor()
Reset the obstacle avoidance color in the editor.
Declaration
public static void EditorResetPathFollowColor()
EditorResetPursueColor()
Reset the pursue color in the editor.
Declaration
public static void EditorResetPursueColor()
EditorResetSeekColor()
Reset the seek color in the editor.
Declaration
public static void EditorResetSeekColor()
EditorResetSeparationColor()
Reset the separation color in the editor.
Declaration
public static void EditorResetSeparationColor()
EditorResetVisualizationsAll()
Reset if all editor visualizations should be rendered or only the selected KaijuAgent.
Declaration
public static void EditorResetVisualizationsAll()
EditorResetVisualizationsLabels()
Reset if labels should be displayed with editor visualizations.
Declaration
public static void EditorResetVisualizationsLabels()
EditorResetWanderColor()
Reset the wander color in the editor.
Declaration
public static void EditorResetWanderColor()
EditorSyncColors()
Sync all colors in the editor.
Declaration
public static void EditorSyncColors()
Get<T>()
Get a KaijuMovement instance.
Declaration
public static T Get<T>()
where T : KaijuMovement
Returns
| Type | Description |
|---|---|
| T | An instance of the KaijuMovement. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of KaijuMovement. |
Return<T>(T)
Return a KaijuMovement to the cache.
Declaration
public static void Return<T>(T movement)
where T : KaijuMovement
Parameters
| Type | Name | Description |
|---|---|---|
| T | movement | The KaijuMovement being returned. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of KaijuMovement. |