Class WorldFactorySpigot

java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.implementations.WorldFactorySpigot
All Implemented Interfaces:
IWorldFactory

@Singleton public class WorldFactorySpigot extends Object implements IWorldFactory
Represents an implementation of ILocationFactory for the Spigot platform.
  • Constructor Details

    • WorldFactorySpigot

      @Inject public WorldFactorySpigot()
  • Method Details

    • create

      public IWorld create(String worldName)
      Description copied from interface: IWorldFactory
      Creates a new IWorld.
      Specified by:
      create in interface IWorldFactory
      Parameters:
      worldName - The name of the world.
      Returns:
      A new IWorld object.