Package org.spoutcraft.api.player

Examples of org.spoutcraft.api.player.SkyManager


        SpoutClient.getInstance().getSkyManager().setMoonTextureUrl(null);
      } else if (moon.length() > 5) {
        SpoutClient.getInstance().getSkyManager().setMoonTextureUrl(moon);
      }
    }
    SkyManager sky = SpoutClient.getInstance().getSkyManager();

    // Sky
    if (skyColor.isOverride()) {
      sky.setSkyColor(null);
    } else if (!skyColor.isInvalid()) {
      sky.setSkyColor(skyColor);
    }

    // Fog
    if (fogColor.isOverride()) {
      sky.setFogColor(null);
    } else if (!fogColor.isInvalid()) {
      sky.setFogColor(fogColor);
    }

    // Cloud
    if (cloudColor.isOverride()) {
      sky.setCloudColor(null);
    } else if (!cloudColor.isInvalid()) {
      sky.setCloudColor(cloudColor);
    }
  }
View Full Code Here

TOP

Related Classes of org.spoutcraft.api.player.SkyManager

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.