Class Wall

All Implemented Interfaces:
Comparable<Content>, Senseable
Direct Known Subclasses:
AutoDoor, Door, ShieldWall, Thruster

public class Wall extends Block
  • Field Details

    • lightningChance

      public float lightningChance
      Lighting chance. -1 to disable
    • lightningDamage

      public float lightningDamage
    • lightningLength

      public int lightningLength
    • lightningColor

      public Color lightningColor
    • lightningSound

      public Sound lightningSound
    • chanceDeflect

      public float chanceDeflect
      Bullet deflection chance. -1 to disable
    • flashHit

      public boolean flashHit
    • flashColor

      public Color flashColor
    • deflectSound

      public Sound deflectSound
  • Constructor Details

    • Wall

      public Wall(String name)
  • Method Details

    • setStats

      public void setStats()
      Description copied from class: UnlockableContent
      Initializes stats on demand. Should only be called once. Only called before something is displayed.
      Overrides:
      setStats in class Block
    • icons

      public TextureRegion[] icons()
      Overrides:
      icons in class Block