Package net.craftions.api.game
Class GameManager
- java.lang.Object
-
- net.craftions.api.game.GameManager
-
public class GameManager extends Object
-
-
Constructor Summary
Constructors Constructor Description GameManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancreateGame(Game game, Boolean force)static GamegetGameByName(String name)static voidremoveGame(Game game)
-
-
-
Method Detail
-
removeGame
public static void removeGame(Game game)
-
createGame
public static boolean createGame(Game game, Boolean force)
- Parameters:
game- The game instanceforce- If true this function will always return true.- Returns:
- True if the game could be created. Overwritten if force is true
-
-