Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        BoardSize = 0;
        Players   = new List <Player>();
        Cells     = new List <List <Tile> >();
        Units     = new Dictionary <string, Unit>();
        Spells    = new Dictionary <string, ActionSpell>();
        UnitTypes = new Dictionary <string, Character>();
        LoadMods MLoader = new LoadMods(this);

        GameIsServer = false;
        ClientIsOpen = false;
        CreateBoard(10);
    }
        private void createChecklistBox()
        {
            List <string> mods = LoadMods.GetMods(Path.GetDirectoryName(Settings.Default.ServerExePath));

            modlist.ItemsSource = mods;
        }