예제 #1
0
파일: createBoard.cs 프로젝트: SLIPD/PC
 //The grid should be generated on game start
 void Start()
 {
     colours = new Color[4] {
         Color.red, Color.green, Color.blue, Color.black
     };
     territories = new int[9] {
         0, 0, 0, 0, 0, 0, 0, 0, 0
     };
     instance = this;
     setSizes();
     createGrid();
 }
예제 #2
0
파일: createBoard.cs 프로젝트: SLIPD/PC
 //The grid should be generated on game start
 void Start()
 {
     colours = new Color[4] {Color.red, Color.green, Color.blue, Color.black};
     territories = new int[9] {0,0,0,0,0,0,0,0,0};
     instance = this;
     setSizes();
     createGrid();
 }