Loading...
Searching...
No Matches
CityBuilderCore.PathQuery Class Referenceabstract

Detailed Description

query that eventually produces a WalkingPath
enables distribution of path calculations across frames

Inheritance diagram for CityBuilderCore.PathQuery:
CityBuilderCore.NoPathfinding.NoPathQuery

Public Member Functions

void Cancel ()
 signals to the query that the path is no longer needed
 
WalkingPath Complete ()
 forces the query to produce its result
 

Static Public Attributes

const int DEFAULT_MAX_CALCULATIONS = 16
 

Properties

object ExtraData [get, set]
 can be used to transport additional data when needed
 

Member Function Documentation

◆ Complete()

WalkingPath CityBuilderCore.PathQuery.Complete ( )
abstract

forces the query to produce its result

Returns
the calculated path