Class Main

java.lang.Object
org.odinware.odinrunes.Main

public class Main extends Object
The Main class is the entry point of the application. It handles the GUI and user interactions.
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String[] args)
      The main method of the application. It is responsible for starting the application.
      Parameters:
      args - command line arguments (not used)
    • serializeContext

      public static void serializeContext(Context context, String filePath)
      Serializes a Context object to a file.
      Parameters:
      context - The Context object to be serialized.
      filePath - The path of the file where the Context object will be serialized.
    • deserializeContext

      public static Context deserializeContext(String filePath)
      Deserializes a Context object from a file.
      Parameters:
      filePath - The path of the file from which the Context object will be deserialized.
      Returns:
      The deserialized Context object.