MazeRunner/Bobo.System.Maze.Bot/Interface/BaseBot.cs

21 lines
475 B
C#

using HightechICT.Amazeing.Client.Rest;
using Microsoft.Extensions.Logging;
namespace Bobo.System.Maze.Bot.Interface
{
public abstract class BaseBot
{
protected ILogger Logger { get; }
protected AmazeingClient MazeClient { get; }
public BaseBot(AmazeingClient mazeClient, ILogger logger)
{
MazeClient = mazeClient;
Logger = logger;
}
public abstract Task<int> Run(MazeInfo maze);
}
}