|
| Ego (Location spawnPoint, EntityModel model, AdversaryCategory category, double initialSpeedKMH, Color color) |
| Creates an Ego vehicle object with a spawn point, model, category, and initial speed. Object has no actions, only start point and destination.
|
|
| Ego () |
| Creates an empty Ego vehicle object.
|
|
void | setCategory (AdversaryCategory category) |
| Sets the category of the Ego vehicle.
|
|
void | setModel (EntityModel model) |
| Sets the model of the Ego vehicle.
|
|
object | Clone () |
| Clones the Ego vehicle object.
|
|
| BaseEntity (string id, Location spawnPoint, double initialSpeedKMH, Color color) |
| Creates a new BaseEntity object with an Id, SpawnPoint, and initial speed.
|
|
| BaseEntity () |
| Creates a new BaseEntity object with empty values.
|
|
void | setPosition (float x, float y) |
| Sets the position of the BaseEntity object.
|
|
void | setRotation (float angle) |
| Sets the rotation angle of the BaseEntity object.
|
|
void | setView (IBaseEntityView view) |
| Sets the view of the BaseEntity object.
|
|
void | setColor (Color c) |
| Sets the color of the BaseEntity object.
|
|
Location | getCarlaLocation () |
| Returns the location of the BaseEntity object in CARLA coordinates.
|
|
Create Ego vehicle. Object has no actions, only start point and destination.