public Task(int taskID, Vector3 loadGoodsPos, Vector3 unloadGoodsPos, TrailerGraph.Edge loadGoods_Edge, TrailerGraph.Edge unloadGoods_Edge, float loadTime = 1.0f, float unloadTime = 1.0f) { this.taskID = taskID; this.loadGoodsPos = loadGoodsPos; this.unloadGoodsPos = unloadGoodsPos; this.loadGoods_Edge = loadGoods_Edge; this.unloadGoods_Edge = unloadGoods_Edge; this.loadTime = loadTime; this.unloadTime = unloadTime; }
public Car(string carName, Vector3 carPos, Vector3 carSize, Color carColor, WorkState workState, float speed, TrailerGraph.Edge carEdge, float angled) { this.carName = carName; this.carPos = carPos; this.carSize = carSize; this.carColor = carColor; this.workState = workState; this.speed = speed; this.angled = angled; this.carEdge = carEdge; }