예제 #1
0
파일: Game1.cs 프로젝트: bikrone/hexagon
 public void StartGameSingle()
 {
     Global.UnfocusAllTextBox();
     gameMode         = GameMode.Single;
     CurrentGameState = GameState.Started;
     if (hexMap == null)
     {
         string[] textures = new string[3];
         textures[0] = "Hexa";
         textures[1] = "hexa_near";
         textures[2] = "hexa_far";
         hexMap      = new HexagonMap((int)(375.0f * ScreenScaleFactor.X), (int)(110.0f * ScreenScaleFactor.Y), 9, 45, 26, textures);
     }
     hexMap.StartSingle();
 }