1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 15:40:29 +01:00
Scene-Manager-DevRepo/SceneManager/ControlledVehicle.cs
Rich Dunne 071ac92ba0 -Converted ControlledVehicles from List to Dictionary
-Removed ControlledVehicle from collection via dict key at end of AssignTasks
2020-06-08 15:20:29 -06:00

29 lines
895 B
C#

using Rage;
namespace SceneManager
{
public class ControlledVehicle
{
public Vehicle Vehicle;
public string LicensePlate;
public int Path;
public int TotalWaypoints;
public int CurrentWaypoint;
public bool TasksAssigned;
public bool DismissNow;
public bool StoppedAtWaypoint;
public bool Redirected;
public ControlledVehicle(Vehicle vehicle, string licensePlate, int path, int totalWaypoints, int currentWaypoint, bool tasksAssigned, bool dismissNow, bool redirected)
{
Vehicle = vehicle;
LicensePlate = licensePlate;
Path = path;
TotalWaypoints = totalWaypoints;
CurrentWaypoint = currentWaypoint;
TasksAssigned = tasksAssigned;
DismissNow = dismissNow;
Redirected = redirected;
}
}
}