AI Testing Simulator
Loading...
Searching...
No Matches
IBaseView Interface Reference

Represents an interface for a base view. More...

Inheritance diagram for IBaseView:
IBaseEntityView WaypointViewController VehicleViewController AdversaryViewController EgoViewController

Public Member Functions

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.
 

Detailed Description

Represents an interface for a base view.

Member Function Documentation

◆ OnChangeColor()

void IBaseView.OnChangeColor ( Color  color)

Called when the color of the corresponding object changes.

Parameters
colorThe new color of the view.

Implemented in VehicleViewController, AdversaryViewController, EgoViewController, and WaypointViewController.

◆ OnChangePosition()

void IBaseView.OnChangePosition ( float  x,
float  y 
)

Called when the position of the corresponding object changes.

Parameters
xThe new x-coordinate of the view's position.
yThe new y-coordinate of the view's position.

Implemented in AdversaryViewController, VehicleViewController, and WaypointViewController.

◆ OnChangeRotation()

void IBaseView.OnChangeRotation ( float  angle)

Called when the rotation of the corresponding object changes.

Parameters
angleThe new angle of the view's rotation.

Implemented in VehicleViewController, and WaypointViewController.


The documentation for this interface was generated from the following file: