Package me.daddychurchill.CityWorld.Context.Floating

Source Code of me.daddychurchill.CityWorld.Context.Floating.FloatingRoadContext

package me.daddychurchill.CityWorld.Context.Floating;

import me.daddychurchill.CityWorld.WorldGenerator;
import me.daddychurchill.CityWorld.Context.RoadContext;
import me.daddychurchill.CityWorld.Plats.PlatLot;
import me.daddychurchill.CityWorld.Plats.Floating.FloatingRoadLot;
import me.daddychurchill.CityWorld.Support.PlatMap;

public class FloatingRoadContext extends RoadContext {

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

  @Override
  public PlatLot createRoadLot(WorldGenerator generator, PlatMap platmap, int x, int z, boolean roundaboutPart, PlatLot oldLot) {
    return new FloatingRoadLot(platmap, platmap.originX + x, platmap.originZ + z, generator.connectedKeyForPavedRoads, roundaboutPart);
  }

}
TOP

Related Classes of me.daddychurchill.CityWorld.Context.Floating.FloatingRoadContext

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.