Beispiel #1
0
        //프로그램 흐름상 필요한 객체들이 null값이 되어 오류가 나지 않도록 맨 처음에 호출되는 Menu 생성자로 생성시켜준다.
        public Menu()
        {
            errorCheck = ErrorCheck.GetInstance();
            VsComputer vsComputer = new VsComputer();
            VsUser     vsUser     = new VsUser();

            ViewMode();
        }
Beispiel #2
0
 public ErrorCheck()
 {
     scoreinfo  = ScoreInfo.GetInstance();
     vsUser     = new VsUser();
     vsComputer = new VsComputer();
     scoreBoard = new ScoreBoard();
     scoreinfo  = ScoreInfo.GetInstance();
     matrix     = Matrix.GetInstance();
     gameMatrix = matrix.GetMatrix();
 }