public static GenieLamp CreateGenieLamp(IGenieLampSpellConfig spellConfig, ILogger logger) { if (Instance == null) { Instance = new GenieLamp(spellConfig, logger); } return(Instance); }
private GenieLamp(IGenieLampSpellConfig spellConfig, ILogger logger) { this.logger = logger; this.spellConfig = spellConfig; }