Klasse Server

java.lang.Object
com.botwAdventureOnline.Server

public class Server extends Object
  • Konstruktordetails

    • Server

      public Server()
  • Methodendetails

    • main

      public static void main(String[] args) throws Exception
      Method to configure and start the game.
      Löst aus:
      Exception
    • acceptClients

      public static void acceptClients(ServerSocket server)
    • startAutoSave

      public static void startAutoSave()
    • play

      public static void play() throws InvocationTargetException, IllegalAccessException
      Löst aus:
      InvocationTargetException
      IllegalAccessException
    • getHeight

      public static int getHeight()
    • getWidth

      public static int getWidth()
    • checkHestu

      public static void checkHestu()
    • addCommands

      public static void addCommands()
    • initiateGame

      public static void initiateGame()
    • saveGame

      public static void saveGame()
    • setDifficulty

      public static double setDifficulty()
    • printHelp

      public static void printHelp()
    • addCommand

      public static void addCommand(String pCommand, String pMethodName) throws Exception
      Löst aus:
      Exception
    • setMap

      public static void setMap(GameMap pMap)
    • getField

      public static Field getField(int playerX, int playerY)