1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 15:40:29 +01:00

Added Driver property

This commit is contained in:
Rich Dunne 2020-09-03 17:50:10 -06:00
parent 305aa22af2
commit b619e48650

View file

@ -4,6 +4,7 @@ namespace SceneManager
{
public class CollectedVehicle
{
public Ped Driver { get; private set; }
public Vehicle Vehicle { get; private set; }
public string LicensePlate { get; private set; }
public int Path { get; private set; }
@ -16,6 +17,7 @@ namespace SceneManager
public CollectedVehicle(Vehicle vehicle, string licensePlate, int path, int totalWaypoints, int currentWaypoint, bool tasksAssigned, bool dismissNow)
{
Vehicle = vehicle;
Driver = vehicle.Driver;
LicensePlate = licensePlate;
Path = path;
TotalWaypoints = totalWaypoints;