Closed sync-by-unito[bot] closed 4 months ago
➤ Zdenek Plesek commented:
The following is a list of issues as observed on 08/12/2023 \@ 00:02 on the buildings-edges-travellers-merge branch
Validation Errors in [EdgeFunctionality.cs]
lines 64 to 85
lines 88 to 92 - ???
line 104
line 110
line 160
scottdeverinne1 & oscarrilot
The strikethrough text was deprecated, please disregard.
Edges are an abtraction for roads and connections between nodes. Their functionality is governed by the “Edge Functionality Script” C# script.
The Edge class extends the following class; MonoBehaviour.
The script imports the following enum ModesOfTransport - (https://trello.com/c/Re9GyDZR )
The Edge class has the following private attribues:
VehiclesInPrequeue - a list of pointers to Traveller objects that entered the Edge in the last tickThe Edge class has the following public attributes:
The Edge class has the following functionality:
on update- the script first orderes the VehicesInPrequeue according to their PositionOnEdge attribute (in descending order, the highest first,) then the script iterates through all vehicles in VehiclesOnRoad and calles their Move() functionSpecified by: Zdenek Plesek
Implemented by: Scott DeVerinne, Oscar Rilot & Tomas Premoli
Validated by:
┆Issue is synchronized with this Trello card by Unito ┆Attachments: Edge.cs: