Ian
05/10/2018, 8:34 PMno valid constructor
Java serialization exception for this class:
class WaypointIndex<ItemType : Any>(
val distance: (Two<ItemType>) -> Double,
val waypoints: List<Waypoint<ItemType>>,
val lookAhead: Int = 100,
val vectorLookAhead: Int = lookAhead * 10
) { ... }
What kind of constructor do I need to give it for it to work?