(cls, version=4, gfx=None)
return cls(data=bytearray(b'\x00' * 4096), version=version, gfx=gfx)
Creates an empty instance.

        Args:
          version: The PICO-8 file version.
          gfx: The Gfx object where lower map data is written.

        Returns:
          A Map instance.
Creates an empty instance.
Creates an empty instance .
def empty(cls, version=4, gfx=None):
        """Creates an empty instance.

        Args:
          version: The PICO-8 file version.
          gfx: The Gfx object where lower map data is written.

        Returns:
          A Map instance.
        """
        return cls(data=bytearray(b'\x00' * 4096), version=version, gfx=gfx)
def empty ( cls , version = 4 , gfx = None ) : return cls ( data = bytearray ( b'\x00' * 4096 ) , version = version , gfx = gfx )