Example #1
0
 public TestConsumer()
 {
     Width    = 2;
     Height   = 2;
     Input    = new InfiniteDirectInput();
     Entrance = new BuildingEntrance(this, (0, 1), (0, 2), PathType.Driveway);
     Type     = BuildingType.TestConsumer;
 }
 public TrainStation(Map map)
 {
     _map     = map;
     Width    = 2;
     Height   = 4;
     Input    = new InfiniteDirectInput();
     Output   = new InfiniteDirectOutput(Item.Wood);
     Type     = BuildingType.TrainStation;
     Entrance = new BuildingEntrance(this, (2, 0), (2, 3), PathType.Rail);
 }