Package me.daddychurchill.CityWorld.Context.Flooded

Source Code of me.daddychurchill.CityWorld.Context.Flooded.FloodedParkContext

package me.daddychurchill.CityWorld.Context.Flooded;

import me.daddychurchill.CityWorld.WorldGenerator;
import me.daddychurchill.CityWorld.Context.ParkContext;
import me.daddychurchill.CityWorld.Plats.PlatLot;
import me.daddychurchill.CityWorld.Plats.Flooded.FloodedOfficeBuildingLot;
import me.daddychurchill.CityWorld.Plats.Flooded.FloodedParkLot;
import me.daddychurchill.CityWorld.Plats.Flooded.FloodedUnfinishedBuildingLot;
import me.daddychurchill.CityWorld.Support.Odds;
import me.daddychurchill.CityWorld.Support.PlatMap;

public class FloodedParkContext extends ParkContext {

  public FloodedParkContext(WorldGenerator generator) {
    super(generator);
    // TODO Auto-generated constructor stub
  }

  @Override
  protected PlatLot getPark(WorldGenerator generator, PlatMap platmap, Odds odds, int chunkX, int chunkZ) {
    return new FloodedParkLot(platmap, chunkX, chunkZ, generator.connectedKeyForParks);
  }
 
  @Override
  protected PlatLot getUnfinishedBuilding(WorldGenerator generator, PlatMap platmap, Odds odds, int chunkX, int chunkZ) {
    return new FloodedUnfinishedBuildingLot(platmap, chunkX, chunkZ);
  }
 
  @Override
  protected PlatLot getBuilding(WorldGenerator generator, PlatMap platmap, Odds odds, int chunkX, int chunkZ) {
    return new FloodedOfficeBuildingLot(platmap, chunkX, chunkZ);
  }
}
TOP

Related Classes of me.daddychurchill.CityWorld.Context.Flooded.FloodedParkContext

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.