C# Class EasyFarm.Classes.PathRecorder

Class for dealing with a character's path.
Mostra file Open project: EasyFarm/EasyFarm Class Usage Examples

Public Methods

Method Description
AddNewPosition ( Position position ) : void
PathRecorder ( IMemoryAPI memory ) : System

Create a new PathRecorder with saving and loading features.

Start ( ) : void

Starts recording of character's path.

Stop ( ) : void

Stops recording of character's path.

Private Methods

Method Description
RouteRecorder_Tick ( object sender, EventArgs e ) : void

Records a new path for the player to travel.

Method Details

AddNewPosition() public method

public AddNewPosition ( Position position ) : void
position MemoryAPI.Navigation.Position
return void

PathRecorder() public method

Create a new PathRecorder with saving and loading features.
public PathRecorder ( IMemoryAPI memory ) : System
memory IMemoryAPI
return System

Start() public method

Starts recording of character's path.
public Start ( ) : void
return void

Stop() public method

Stops recording of character's path.
public Stop ( ) : void
return void