Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
essentials.action.Pathing.PathingJob Class Reference

A pathing job for the task scheduler to increment an engine More...

Inheritance diagram for essentials.action.Pathing.PathingJob:
pluginbase.Objects.Tasks.ITask

Public Member Functions

 PathingJob (IPathingEngine engine)
 
void Abort ()
 
Path GetResult ()
 

Properties

PathEngineState State [get]
 
- Properties inherited from pluginbase.Objects.Tasks.ITask
TimeSpan Frequency [get]
 

Events

Action< PathOnComplete
 
Action< PathOnIncrement
 

Detailed Description

A pathing job for the task scheduler to increment an engine

Constructor & Destructor Documentation

essentials.action.Pathing.PathingJob.PathingJob ( IPathingEngine  engine)
21  {
22  _engine = engine;
23  _timer = new Stopwatch();
24  }

Member Function Documentation

void essentials.action.Pathing.PathingJob.Abort ( )
27  {
28  _abort = true;
29  }
Path essentials.action.Pathing.PathingJob.GetResult ( )
37  {
38  return _engine.GetResult();
39  }

Property Documentation

PathEngineState essentials.action.Pathing.PathingJob.State
get

Event Documentation

Action<Path> essentials.action.Pathing.PathingJob.OnComplete
Action<Path> essentials.action.Pathing.PathingJob.OnIncrement

The documentation for this class was generated from the following file: