

package net.caseif.flint.inferno.util.unsafe;

import net.caseif.flint.common.lobby.populator.StockChallengerListingLobbySignPopulator;
import net.caseif.flint.common.util.unsafe.CommonUnsafeUtil;
import net.caseif.flint.inferno.lobby.populator.RichStockStatusLobbySignPopulator;
import net.caseif.flint.lobby.populator.LobbySignPopulator;
import net.caseif.flint.util.unsafe.UnsafeUtil;

public class InfernoUnsafeUtil extends CommonUnsafeUtil {

    private static final LobbySignPopulator STATUS_POPULATOR = new RichStockStatusLobbySignPopulator();
    private static final LobbySignPopulator LISTING_POPULATOR = new StockChallengerListingLobbySignPopulator();

    public static void initialize() {
        INSTANCE = new InfernoUnsafeUtil();
    }

    @Override
    public LobbySignPopulator getDefaultStatusLobbySignPopulator() {
        testInternalUse();
        return STATUS_POPULATOR;
    }

    @Override
    public LobbySignPopulator getDefaultChallengerListingLobbySignPopulator() {
        testInternalUse();
        return LISTING_POPULATOR;
    }

}
