Class GameManager


  • public class GameManager
    extends Object
    • Constructor Detail

      • GameManager

        public GameManager()
    • Method Detail

      • removeGame

        public static void removeGame​(Game game)
      • createGame

        public static boolean createGame​(Game game,
                                         Boolean force)
        Parameters:
        game - The game instance
        force - If true this function will always return true.
        Returns:
        True if the game could be created. Overwritten if force is true
      • getGameByName

        public static Game getGameByName​(String name)
        Parameters:
        name - The name of the game
        Returns:
        The game or null.