Coverage Summary for Class: DifficultyManager (com.mygdx.game.Managers)
| Class | Class, % | Method, % | Line, % |
|---|---|---|---|
| DifficultyManager | 100% (1/1) | 100% (6/6) | 100% (6/6) |
1 package com.mygdx.game.Managers; 2 3 4 //NEW 5 public class DifficultyManager { 6 private static String level = "n"; 7 8 public DifficultyManager() { 9 10 } 11 12 public static void SelectNormal() { 13 level = "n"; 14 } 15 16 public static void SelectHard() { 17 level = "h"; 18 } 19 20 public static void SelectEasy() { 21 level = "e"; 22 } 23 24 public static String getDifficulty() { 25 return level; 26 } 27 }