Package me.daddychurchill.CityWorld.Plats.Astral

Examples of me.daddychurchill.CityWorld.Plats.Astral.AstralMushroomsBrownLot


  private PlatLot generateMushroomLot(PlatMap platmap, Odds odds, int chunkX, int chunkZ, double populationChance) {
    switch (style) {
    case YELLOW:
      return new AstralMushroomsSpongeLot(platmap, chunkX, chunkZ, populationChance);
    case BROWN:
      return new AstralMushroomsBrownLot(platmap, chunkX, chunkZ, populationChance);
    case REDBROWN:
      if (odds.flipCoin())
        return new AstralMushroomsBrownLot(platmap, chunkX, chunkZ, populationChance);
      else
        return new AstralMushroomsRedLot(platmap, chunkX, chunkZ, populationChance);
    case RED:
    default:
      return new AstralMushroomsRedLot(platmap, chunkX, chunkZ, populationChance);
View Full Code Here

TOP

Related Classes of me.daddychurchill.CityWorld.Plats.Astral.AstralMushroomsBrownLot

Copyright © 2018 www.massapicom. 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.