Class IsoTree

java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoTree
All Implemented Interfaces:
java.io.Serializable, Thumpable

public class IsoTree
extends IsoObject
See Also:
Serialized Form
  • Field Details

    • MAX_SIZE

      public static final int MAX_SIZE
      See Also:
      Constant Field Values
    • LogYield

      public int LogYield
    • damage

      public int damage
    • size

      public int size
    • bRenderFlag

      public boolean bRenderFlag
    • fadeAlpha

      public float fadeAlpha
  • Constructor Details

    • IsoTree

      public IsoTree()
    • IsoTree

      public IsoTree​(IsoCell cell)
    • IsoTree

      public IsoTree​(IsoGridSquare square, java.lang.String string)
    • IsoTree

      public IsoTree​(IsoGridSquare square, IsoSprite sprite)
  • Method Details

    • getNew

      public static IsoTree getNew()
    • save

      public void save​(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException
      Overrides:
      save in class IsoObject
      Throws:
      java.io.IOException
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException
      Overrides:
      load in class IsoObject
      Throws:
      java.io.IOException
    • checkMoveWithWind

      protected void checkMoveWithWind()
      Overrides:
      checkMoveWithWind in class IsoObject
    • reset

      public void reset()
      Overrides:
      reset in class IsoObject
    • initTree

      public void initTree()
    • getObjectName

      public java.lang.String getObjectName()
      Overrides:
      getObjectName in class IsoObject
    • Damage

      public void Damage​(float float1)
      Overrides:
      Damage in class IsoObject
    • HitByVehicle

      public void HitByVehicle​(BaseVehicle baseVehicle, float float1)
      Overrides:
      HitByVehicle in class IsoObject
    • WeaponHit

      public void WeaponHit​(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
      Specified by:
      WeaponHit in interface Thumpable
      Overrides:
      WeaponHit in class IsoObject
    • setHealth

      public void setHealth​(int int1)
    • getHealth

      public int getHealth()
    • getMaxHealth

      public int getMaxHealth()
    • getSize

      public int getSize()
    • getSlowFactor

      public float getSlowFactor​(IsoMovingObject movingObject)
    • render

      public void render​(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader)
      Overrides:
      render in class IsoObject
    • setSprite

      public void setSprite​(IsoSprite sprite)
      Overrides:
      setSprite in class IsoObject
    • isMaskClicked

      public boolean isMaskClicked​(int int1, int int2, boolean boolean1)
      Overrides:
      isMaskClicked in class IsoObject
    • setChopTreeCursorLocation

      public static void setChopTreeCursorLocation​(int int1, int int2, int int3, int int4)
    • renderChopTreeIndicators

      public static void renderChopTreeIndicators()