Class MemoryBlock

All Implemented Interfaces:
Comparable<Content>, Senseable

public class MemoryBlock extends Block
  • Field Details

    • memoryCapacity

      public int memoryCapacity
  • Constructor Details

    • MemoryBlock

      public MemoryBlock(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
    • 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.