text: #!/usr/bin/env python3
  
  """Hyperdrive tile.
  
  """
  
  from __future__ import annotations
  
  import typing
  
  import colors
  import tiles.ship_square
  from .ship_square import (
      ActionSquare,
      BlankSquare,
      MachineSquare,
  )
  from .tile import Tile
  
  
  class HyperdriveTile(Tile):
      """The hyperdrive warps the ship in and out of missions.  The hyperdrive cannot warp the ship within 12 hexes of
      a celestial body, and passing within that radius clears all programming from the hyperdrive.
  
      It is required on all ships.
  
      """
  
      ABBREVIATION: str = 'hy'
  
      COLOR = colors.GREEN_BACKGROUND
  
      DEFINITION: typing.List[typing.List[typing.Type[tiles.ship_square.ShipSquare]]] = [
          [BlankSquare, BlankSquare,   BlankSquare,   BlankSquare,   BlankSquare, ],
          [BlankSquare, MachineSquare, MachineSquare, MachineSquare, BlankSquare, ],
          [BlankSquare, MachineSquare, ActionSquare,  MachineSquare, BlankSquare, ],
          [BlankSquare, MachineSquare, BlankSquare,   MachineSquare, BlankSquare, ],
          [BlankSquare, BlankSquare,   BlankSquare,   BlankSquare,   BlankSquare, ],
      ]
  