gameserver~MapRotationService(applicationContext)

The map rotation service chooses

new MapRotationService(applicationContext)

Parameters:
Name Type Description
applicationContext ApplicationContext The application context.

Methods

afterPropertiesSet()

Initialization after the components in the application context have been constructed.

getRandomMap()

Returns a random map.

onIntermission()

Instance is in intermission mode.

setDependencies()

Sets the dependencies from the application context.

setMap()

Changes the map.