Package org.vrspace.server.config
Class WorldConfig
- java.lang.Object
-
- org.vrspace.server.config.WorldConfig
-
@Configuration @ConfigurationProperties("org.vrspace.server") public class WorldConfig extends ObjectContainer for pre-configured worlds, created by WorldManager during startup. Worlds can be configured with org.vrspace.server.WORLDNAME.x properties, most important org.vrspace.server.WORLDNAME.specifies the class that extends World and implements custom enter and exit methods. All other properties are passed to the world instance during creation, intended to be used in World.enter(), WorldController, etc.- See Also:
ServerWorld
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorldConfig.WorldProperties
-
Constructor Summary
Constructors Constructor Description WorldConfig()
-