C# Class EasyFarm.Classes.PathRecorder

Class for dealing with a character's path.
Afficher le fichier Open project: EasyFarm/EasyFarm Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
RouteRecorder_Tick ( object sender, EventArgs e ) : void

Records a new path for the player to travel.

Method Details

AddNewPosition() public méthode

public AddNewPosition ( Position position ) : void
position MemoryAPI.Navigation.Position
Résultat void

PathRecorder() public méthode

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

Start() public méthode

Starts recording of character's path.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops recording of character's path.
public Stop ( ) : void
Résultat void