Class Activerse

java.lang.Object
ActiverseEngine.Activerse

public class Activerse extends Object
Provides utility methods to start and stop the Activerse application. This class contains static methods to manage the application lifecycle.
Version:
1.4.0
Author:
Knivier
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    setWorld(World world)
    Sets the world to the inputted world.
    static void
    start(World world)
    Starts the Activerse application with the specified world.
    static void
    stop(World world)
    Stops the Activerse application by stopping the specified world.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Activerse

      public Activerse()
  • Method Details

    • start

      public static void start(World world)
      Starts the Activerse application with the specified world.
      Parameters:
      world - The world to start the application with.
      Throws:
      IllegalArgumentException - if the world is null.
    • setWorld

      public static void setWorld(World world)
      Sets the world to the inputted world.
      Parameters:
      world - The new world to be set.
      Throws:
      IllegalArgumentException - if the world is null.
    • stop

      public static void stop(World world)
      Stops the Activerse application by stopping the specified world.
      Parameters:
      world - The world to stop.