Пример #1
0
 public SpellCommand()
 {
     symbolParser = new SpellSymbolParser( 
     new ISymbolFactory []
     {
         SymbolFactory<ZoSymbol>.Instance,
         SymbolFactory<OSymbol>.Instance
     },
     new ISpellFactory[]
     {
         OpenDoorSpellFactory.Instance
     });
 }
Пример #2
0
 public SpellCommand()
 {
     symbolParser = new SpellSymbolParser(
         new ISymbolFactory []
     {
         SymbolFactory <ZoSymbol> .Instance,
         SymbolFactory <OSymbol> .Instance
     },
         new ISpellFactory[]
     {
         OpenDoorSpellFactory.Instance
     });
 }