Search in sources :

Example 1 with HighScoreServiceImpl

use of com.skelril.skree.service.internal.highscore.HighScoreServiceImpl in project Skree by Skelril.

the class HighScoreSystem method init.

@NModuleTrigger(trigger = "PRE_INITIALIZATION")
public void init() {
    service = new HighScoreServiceImpl();
    Sponge.getServiceManager().setProvider(SkreePlugin.inst(), HighScoreService.class, service);
    Sponge.getCommandManager().register(SkreePlugin.inst(), HighScoreCommand.aquireSpec(), "highscores", "highscore");
}
Also used : HighScoreServiceImpl(com.skelril.skree.service.internal.highscore.HighScoreServiceImpl) NModuleTrigger(com.skelril.nitro.module.NModuleTrigger)

Aggregations

NModuleTrigger (com.skelril.nitro.module.NModuleTrigger)1 HighScoreServiceImpl (com.skelril.skree.service.internal.highscore.HighScoreServiceImpl)1