|
| void | Init (Waypoint waypoint, PathController pathController, Color color, bool secondary) |
| | Initializes the Waypoint controller with the specified parameters.
|
| |
| void | SetPathController (PathController pathController) |
| | Sets the PathController for the WaypointViewController.
|
| |
| PathController | GetPathController () |
| | Gets the PathController for the WaypointViewController.
|
| |
|
void | MakeSecondary () |
| | Makes the waypoint a secondary waypoint.
|
| |
| bool | IsSecondary () |
| | Returns whether the waypoint is a secondary waypoint.
|
| |
| void | OpenEditDialog () |
| | Opens the edit dialog for the waypoint.
|
| |
| void | SetColor (Color color) |
| | Sets the color of the waypoint.
|
| |
|
void | OnMouseDown () |
| | Handles the OnMouseDown event to select the waypoint.
|
| |
|
void | OnMouseDrag () |
| | Handles the OnMouseDrag event to move the waypoint.
|
| |
| void | Select () |
| | Selects the waypoint and scales it up to make it distinctly visible.
|
| |
| void | Deselect () |
| | Deselects the waypoint and scales it down again.
|
| |
| void | Destroy () |
| | Removes the waypoint from its path and destroys the game object.
|
| |
| void | OnChangePosition (float x, float y) |
| | Changes the position of the waypoint GameObject.
|
| |
| void | OnChangeRotation (float angle) |
| | Gets Called when Rotation is Changed (Not implemented for Waypoint)
|
| |
| void | OnChangeColor (Color color) |
| | Gets called when Color is Changed.
|
| |
| bool | IsIgnoringWaypoints () |
| | Returns whether the waypoint is ignoring waypoint indicators.
|
| |
| void | ShouldIgnoreWaypoints (bool b) |
| | Sets whether the waypoint should ignore waypoint indicators.
|
| |
| Location | GetLocation () |
| | Returns the location of the waypoint.
|
| |
| void | Select () |
| | Selects the controller.
|
| |
| void | Deselect () |
| | Deselects the controller.
|
| |
| void | Destroy () |
| | Destroys the controller.
|
| |
| void | OpenEditDialog () |
| | Opens the edit dialog for the controller.
|
| |
| bool | IsIgnoringWaypoints () |
| | Returns a boolean indicating whether or not the controller ignores waypoints.
|
| |
| void | ShouldIgnoreWaypoints (bool b) |
| | Sets the value indicating whether or not the controller should ignore waypoints.
|
| |
| Location | GetLocation () |
| | Returns the location of the object that the controller belongs to.
|
| |
| void | OnChangePosition (float x, float y) |
| | Called when the position of the corresponding object changes.
|
| |
| void | OnChangeRotation (float angle) |
| | Called when the rotation of the corresponding object changes.
|
| |
| void | OnChangeColor (Color color) |
| | Called when the color of the corresponding object changes.
|
| |
The WaypointViewController class handles the behavior of a waypoint in the game. </summary.