Skip to content
Snippets Groups Projects
library.h 517 B
Newer Older
#pragma once

#include <pybind11/pybind11.h>
#include <sc2api/sc2_api.h>
#include "src/IDABot.h"
#include <iostream>
#include <pybind11/stl.h> /* Automatic conversion from std::vector to Python lists */

class Coordinator : public sc2::Coordinator
{
public:
    // TODO: We might not always want default value when we run on Linux
    Coordinator() : sc2::Coordinator()
    {
        char *argv[] = { "executable", NULL};
        int argc = sizeof(argv) / sizeof(char*) - 1;
        LoadSettings(argc, argv);
    }
};