Package de.beimax.simplespleef.game

Examples of de.beimax.simplespleef.game.Game


   * restore an arena
   * @param sender
   * @param arena
   */
  protected void restoreArena(CommandSender sender, String arena) {
    Game game = SimpleSpleef.getGameHandler().getGameByName(arena);
    // does arena exist?
    if (game == null) {
      sender.sendMessage(ChatColor.DARK_RED + SimpleSpleef.ll("errors.unknownArena", "[ARENA]", arena));
      return;
    }
   
    game.restoreArena(sender, false);
  }
View Full Code Here


   */
  protected void stopRunningGame(CommandSender sender, String id) {
    // is there a game running currently?
    if (SimpleSpleef.getGameHandler().gameExists(id)) {
      // stop game first
      Game game = SimpleSpleef.getGameHandler().getGameByName(id);
      game.delete(sender);
    }
  }
View Full Code Here

TOP

Related Classes of de.beimax.simplespleef.game.Game

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.