public Bot() { Version = "0.2.1"; PlayerDatabase = new PlayerDatabase("player.db"); Items = new ItemList(); Words = new WordList(); DotPuzzles = new PuzzleList(); AllMetals = new Metals(); }
public void Start() { Leaf root = new Leaf(0, 0, gridSize, gridSize); dungeon = new int[gridSize, gridSize]; RoomLayout = new Room[7, 7]; Debug.Log(dungeon.GetLength(0) + "_" + dungeon.GetLength(1)); leafList.Add(root); puzzleList = GameObject.FindObjectOfType <PuzzleList>(); StartCoroutine(BuildLeafTree()); }
public void NumberOfPuzzlesGeneratedInABatchAreCorrect() { IEnumerable <Puzzle <int> > PuzzleList; numberPuzzleBatchBuilder.BuildPuzzleBatch(); PuzzleList = numberPuzzleBatchBuilder.GetPuzzleBatch(); if (!(PuzzleList.ToList().Count() == 10)) { Assert.Fail(); } }
public void Awake() { puzzleList = this; }
public void Start() { Leaf root = new Leaf(0,0,gridSize,gridSize); dungeon = new int[gridSize,gridSize]; RoomLayout = new Room[7, 7]; Debug.Log(dungeon.GetLength(0) +"_"+dungeon.GetLength(1) ); leafList.Add(root); puzzleList = GameObject.FindObjectOfType<PuzzleList>(); StartCoroutine(BuildLeafTree()); }