using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace EndlessMovement{
public class EndlessMovement : Core
{
private Gps gps;
public static string GetPluginAuthor()
{
return "tictoc";
}
public static string GetPluginVersion()
{
return "1.0.0.0";
}
public static string GetPluginDescription()
{
return "EndlessMovement - Move from A to B and back from B to A in an endless loop";
}
//Call on plugin start
public void PluginRun()
{
gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "\\plugins\\EndlessMovement\\path.db3");
while (true)
{
gps.GpsMove("B");
Thread.Sleep(2000);
gps.GpsMove("A");
Thread.Sleep(2000);
}
}
//Call on plugin stop
public void PluginStop()
{
}
}
}