예제 #1
0
 public static GenieLamp CreateGenieLamp(IGenieLampSpellConfig spellConfig, ILogger logger)
 {
     if (Instance == null)
     {
         Instance = new GenieLamp(spellConfig, logger);
     }
     return(Instance);
 }
예제 #2
0
 private GenieLamp(IGenieLampSpellConfig spellConfig, ILogger logger)
 {
     this.logger      = logger;
     this.spellConfig = spellConfig;
 }