// Use this for initialization void Start() { drawer = goDrawer.GetComponentInChildren <GEDrawerBasic>(); ui = goUI.GetComponentInChildren <GEUIBasic>(); game = new GoEsqueBasic(drawer, ui); ui.game = game; drawer.DrawInit(game); }
public GoEsqueBasic(GEDrawer _drawer, GEUI _geui) { //ruler = new RuleManagerBasic(this); intersections = new Dictionary <string, Intersection>(); stones = new Dictionary <Intersection, Stone>(); serialization = new Dictionary <int, string>(); tileShape = TileShape.HEX; drawer = _drawer; uihandler = _geui; //InitializeGame(new int[] { 19, 19 }); InitializeGame(new int[] { 9, 9 }); }