public LegacyTileCreator(LegacyMapBuilder builder)
        {
            this.builder = builder;

            texture     = new Texture2D(ResourceProvider.Instance.Device, this.builder.CurrentMap.OffsetX + this.builder.CurrentMap.Width, this.builder.CurrentMap.OffsetY + this.builder.CurrentMap.Height);
            miniMapData = new Color[texture.Width * texture.Height];
        }
 public FloorActuatorCreator(LegacyMapBuilder builder)
 {
     this.builder = builder;
     parser = new Parser<ActuatorState, ActuatorItemData, LegacyMapBuilder, Actuator>(new ActuatorFactoryBase[]
     {
         //TODO add factories
         new FloorDirectionFactory(), 
         new FloorCreatureFactory(), 
         new ItemFactory(), 
         new PartyPossesionFactory(), 
         new TPCFactory(), 
         new TPCIFactory(), 
         new MultiFloorDirectionFactory(), 
     });
 }
Beispiel #3
0
 public FloorActuatorCreator(LegacyMapBuilder builder)
 {
     this.builder = builder;
     parser       = new Parser <ActuatorState, ActuatorItemData, LegacyMapBuilder, Actuator>(new ActuatorFactoryBase[]
     {
         //TODO add factories
         new FloorDirectionFactory(),
         new FloorCreatureFactory(),
         new ItemFactory(),
         new PartyPossesionFactory(),
         new TPCFactory(),
         new TPCIFactory(),
         new MultiFloorDirectionFactory(),
     });
 }
 public WallActuatorCreator(LegacyMapBuilder builder)
 {
     this.builder = builder;
     parser = new Parser<ActuatorState, ActuatorItemData, LegacyMapBuilder, Actuator>(new ActuatorFactoryBase[]
     {
         //TODO add factories
         new AlcoveHidingSwitchFactory(), 
         new BasicAlcoveFactory(),
         new BasicDecorationFactory(),
         new BasicExchangerFactory(),
         new BasicExchangerFactoryReverse(), 
         new OnceOnlyExchangerFactory(), 
         new BasicKeyHoleFactory(), 
         new DestroyingKeyHoleFactory(), 
         new ChampoinFactory(), 
         new LeverSwitchFactory(), 
         new TimerSwitchFactory(), 
         new HolderButtonFactory(), 
         new ButtonFactory(), 
         new TimerMultiSwitchFactory(), 
         new MultiKeyHoleFactory(), 
     });
 }
 public WallActuatorCreator(LegacyMapBuilder builder)
 {
     this.builder = builder;
     parser       = new Parser <ActuatorState, ActuatorItemData, LegacyMapBuilder, Actuator>(new ActuatorFactoryBase[]
     {
         //TODO add factories
         new AlcoveHidingSwitchFactory(),
         new BasicAlcoveFactory(),
         new BasicDecorationFactory(),
         new BasicExchangerFactory(),
         new BasicExchangerFactoryReverse(),
         new OnceOnlyExchangerFactory(),
         new BasicKeyHoleFactory(),
         new DestroyingKeyHoleFactory(),
         new ChampoinFactory(),
         new LeverSwitchFactory(),
         new TimerSwitchFactory(),
         new HolderButtonFactory(),
         new ButtonFactory(),
         new TimerMultiSwitchFactory(),
         new MultiKeyHoleFactory(),
     });
 }
 public CreatureCreator(LegacyMapBuilder builder)
 {
     this.builder = builder;
 }
 public LegacyItemCreator(LegacyMapBuilder builder)
 {
     this.builder = builder;
 }
 public CreatureCreator(LegacyMapBuilder builder)
 {
     this.builder = builder;
 }