Class ThunderStorm

java.lang.Object
zombie.iso.weather.ThunderStorm

public class ThunderStorm extends Object
TurboTuTone.
  • Field Details

    • MAP_MIN_X

      public static int MAP_MIN_X
    • MAP_MIN_Y

      public static int MAP_MIN_Y
    • MAP_MAX_X

      public static int MAP_MAX_X
    • MAP_MAX_Y

      public static int MAP_MAX_Y
  • Constructor Details

  • Method Details

    • getClouds

      public ArrayList<ThunderStorm.ThunderCloud> getClouds()
    • HasActiveThunderClouds

      public boolean HasActiveThunderClouds()
    • noise

      public void noise(String s)
    • stopAllClouds

      public void stopAllClouds()
    • stopCloud

      public void stopCloud(int id)
    • getMapDiagonal

      public static int getMapDiagonal()
    • startThunderCloud

      public void startThunderCloud(float str, float angle, float radius, float eventFreq, float thunderRatio, double duration, boolean targetRandomPlayer)
    • startThunderCloud

      public ThunderStorm.ThunderCloud startThunderCloud(float str, float angle, float radius, float eventFreq, float thunderRatio, double duration, boolean targetRandomPlayer, float percentageOffset)
    • update

      public void update(double currentTime)
    • applyLightningForPlayer

      public void applyLightningForPlayer(RenderSettings.PlayerRenderSettings renderSettings, int plrIndex, IsoPlayer player)
    • isModifyingNight

      public boolean isModifyingNight()
    • triggerThunderEvent

      public void triggerThunderEvent(int x, int y, boolean doStrike, boolean doLightning, boolean doRumble)
    • writeNetThunderEvent

      public void writeNetThunderEvent(ByteBuffer output) throws IOException
      Throws:
      IOException
    • readNetThunderEvent

      public void readNetThunderEvent(ByteBuffer input) throws IOException
      Throws:
      IOException
    • enqueueThunderEvent

      public void enqueueThunderEvent(int x, int y, boolean doStrike, boolean doLightning, boolean doRumble)
    • save

      public void save(DataOutputStream output) throws IOException
      IO
      Throws:
      IOException
    • load

      public void load(DataInputStream input) throws IOException
      Throws:
      IOException