protected PaintBot(PaintBotConfig paintBotConfig, IPaintBotClient paintBotClient, IHearBeatSender heartBeatSender, ILogger logger) { _paintBotClient = paintBotClient; _heartBeatSender = heartBeatSender; _logger = logger; _gameLengthInSeconds = paintBotConfig.GameLengthInSeconds; }
protected StatePaintBot(PaintBotConfig paintBotConfig, IPaintBotClient paintBotClient, IHearBeatSender heartBeatSender, ILogger logger) : base(paintBotConfig, paintBotClient, heartBeatSender, logger) { Random = new System.Random(); }
public MyPaintBot(PaintBotConfig paintBotConfig, IPaintBotClient paintBotClient, IHearBeatSender hearBeatSender, ILogger logger) : base(paintBotConfig, paintBotClient, hearBeatSender, logger) { GameMode = paintBotConfig.GameMode; Name = paintBotConfig.Name ?? "Båtersh"; LastAction = Action.Stay; LastLastAction = Action.Down; counter = 0; }
public MyPaintBot(PaintBotConfig paintBotConfig, IPaintBotClient paintBotClient, IHearBeatSender hearBeatSender, ILogger logger) : base(paintBotConfig, paintBotClient, hearBeatSender, logger) { GameMode = paintBotConfig.GameMode; Name = paintBotConfig.Name ?? "My c# bot"; }
public FakeBot(IPaintBotClient paintBotClient, IHearBeatSender heartBeatSender, ILogger logger, PaintBotConfig config) : base(config, paintBotClient, heartBeatSender, logger) { GameMode = config.GameMode; }