示例#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
     });
 }