public void Begin(Node start, Node end, IPathTracker tracker) { m_Start = start; m_End = end; m_Path = m_Graph.GetShortestPath(m_Start, m_End); _pathTracker = tracker; Follow(m_Path); }
public GestureParser(IPathTracker pathTracker, IGestureIntentFinder intentFinder) { PathTracker = pathTracker; IntentFinder = intentFinder; MaxGestureSteps = 12; PathTracker.BeforePathStart += PathTrackerOnBeforePathStart; PathTracker.PathStart += PathTrackerOnPathStart; PathTracker.PathEnd += PathTrackerOnPathEnd; PathTracker.EffectivePathGrow += PathTrackerOnEffectivePathGrow; PathTracker.PathModifier += PathTrackerOnPathModifier; PathTracker.HotCornerTriggered += PathTracker_HotCornerTriggered; }
public GestureParser(IPathTracker pathTracker, IGestureIntentFinder intentFinder) { PathTracker = pathTracker; IntentFinder = intentFinder; MaxGestureSteps = 12; PathTracker.BeforePathStart += PathTrackerOnBeforePathStart; PathTracker.PathStart += PathTrackerOnPathStart; PathTracker.PathEnd += PathTrackerOnPathEnd; PathTracker.EffectivePathGrow += PathTrackerOnEffectivePathGrow; PathTracker.PathModifier += PathTrackerOnPathModifier; }
public GestureParser(IPathTracker pathTracker, IGestureIntentFinder intentFinder) { PathTracker = pathTracker; IntentFinder = intentFinder; MaxGestureSteps = 12; PathTracker.BeforePathStart += PathTrackerOnBeforePathStart; PathTracker.PathStart += PathTrackerOnPathStart; PathTracker.PathEnd += PathTrackerOnPathEnd; PathTracker.EffectivePathGrow += PathTrackerOnEffectivePathGrow; PathTracker.PathModifier += PathTrackerOnPathModifier; PathTracker.HotCornerTriggered += PathTracker_HotCornerTriggered; PathTracker.EdgeRubbed += PathTracker_EdgeRubbed; }