Пример #1
0
 void Start()
 {
     this.turnNumber = 0;
     boardManager = new BoardManager(boardContainer, tileInstance);
     boardManager.buildBoard(8);
     initializeAtomInstances();
     atomManager = new AtomManager(ref boardManager.getBoardRef(), boardContainer);
     atomManager.addAtomTypes(atomInstances);
     atomManager.addGhostAtomTypes(ghostAtomInstances);
     atomManager.spawnInitialAtoms(8);
     atomManager.setupNextTurn();
 }