iTS - Intelligent Traffic System  V 1.0.5
 All Classes Functions Variables Properties
TSPoints Class Reference

TS points. The class holds the information about a point. More...

Public Attributes

Vector3 point
 The point position in world space. More...
 
int reservationID = 0
 The reservation ID. This variable holds the ID of the car that is reserving this point if any, if not it holds 0. More...
 
TSTrafficAI carwhoReserved
 The carwho reserved. this is a reference to the class TSTrafficAI of the car that have reserved this point More...
 
int laneReservationID = -1
 The lane reservation ID. If this is a connector point, and have been reserved by a lane, then this value is different from -1 More...
 
int connectorReservationCount = 0
 The connector reservation count. This value increases if more than one car with different lane target reserves this point. More...
 
float distanceToNextPoint = 0f
 The distance to next point. More...
 
int rightParalelLaneIndex = -1
 The index of the right paralel lane. More...
 
int leftParalelLaneIndex = -1
 The index of the left paralel lane. More...
 
float maxSpeedLimit = 1000f
 The max speed limit. This is for internal use, for calculating the max More...
 
TSConnectorOtherPoints[] otherConnectorsPoints
 The other connectors points. Array that points to the opoints of other connectors that intersects with this point or are too close to it. More...
 

Detailed Description

TS points. The class holds the information about a point.

Member Data Documentation

TSTrafficAI TSPoints.carwhoReserved

The carwho reserved. this is a reference to the class TSTrafficAI of the car that have reserved this point

int TSPoints.connectorReservationCount = 0

The connector reservation count. This value increases if more than one car with different lane target reserves this point.

float TSPoints.distanceToNextPoint = 0f

The distance to next point.

int TSPoints.laneReservationID = -1

The lane reservation ID. If this is a connector point, and have been reserved by a lane, then this value is different from -1

int TSPoints.leftParalelLaneIndex = -1

The index of the left paralel lane.

float TSPoints.maxSpeedLimit = 1000f

The max speed limit. This is for internal use, for calculating the max

TSConnectorOtherPoints [] TSPoints.otherConnectorsPoints

The other connectors points. Array that points to the opoints of other connectors that intersects with this point or are too close to it.

Vector3 TSPoints.point

The point position in world space.

int TSPoints.reservationID = 0

The reservation ID. This variable holds the ID of the car that is reserving this point if any, if not it holds 0.

int TSPoints.rightParalelLaneIndex = -1

The index of the right paralel lane.