Initial commit
This commit is contained in:
16
Assets/Scripts/PathResult.cs
Normal file
16
Assets/Scripts/PathResult.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[System.Serializable]
|
||||
public class PathResult
|
||||
{
|
||||
public List<Node> path;
|
||||
public float totalCost;
|
||||
public string keterangan;
|
||||
public float estimasiWaktu; // waktu dalam detik
|
||||
public int panjangJalur;
|
||||
|
||||
|
||||
// Property tambahan jika butuh label
|
||||
public string label => keterangan;
|
||||
}
|
Reference in New Issue
Block a user