tvaLib
Public Member Functions | Public Attributes | List of all members
lib.scene.TrafficController Class Reference

Declare traffic_controller object. More...

Public Member Functions

def __init__ (self, offset=0)
 
def add (self, args, kwargs)
 

Public Attributes

 phases
 
 offset
 

Detailed Description

Declare traffic_controller object.

Definition at line 1368 of file scene.py.

Constructor & Destructor Documentation

◆ __init__()

def lib.scene.TrafficController.__init__ (   self,
  offset = 0 
)

Definition at line 1369 of file scene.py.

1369  def __init__(self, offset=0):
1370  self.phases = []
1371  self.offset = offset
1372 

Member Function Documentation

◆ add()

def lib.scene.TrafficController.add (   self,
  args,
  kwargs 
)

Definition at line 1373 of file scene.py.

1373  def add(self, *args, **kwargs):
1374  self.phases.append(*args, **kwargs)
1375 
1376 

Member Data Documentation

◆ offset

lib.scene.TrafficController.offset

Definition at line 1371 of file scene.py.

◆ phases

lib.scene.TrafficController.phases

Definition at line 1370 of file scene.py.


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