Class SwitchBlock

All Implemented Interfaces:
Comparable<Content>, Senseable

public class SwitchBlock extends Block
  • Field Details

    • clickSound

      public arc.audio.Sound clickSound
    • onRegion

      public arc.graphics.g2d.TextureRegion onRegion
  • Constructor Details

    • SwitchBlock

      public SwitchBlock(String name)
  • Method Details

    • accessible

      public boolean accessible()
    • canBreak

      public boolean canBreak(Tile tile)
      Overrides:
      canBreak in class Block
      Returns:
      whether this block can be broken on the specified tile.