Class ManagerTileConfig

    • Constructor Detail

      • ManagerTileConfig

        public ManagerTileConfig(int id,
                                 String name,
                                 ImageManager<Tile,BufferedImage> manager)
        Create a new instance of TileConfig that simply presents a single manager instance.
        Parameters:
        id - the id to use.
        name - the name for this configuration.
        manager - the manager that this configuration should provide.
    • Method Detail

      • getId

        public int getId()
        Description copied from interface: TileConfig
        A unique id that can be used to identify this TileConfig instance.
        Specified by:
        getId in interface  TileConfig
        Returns:
        the id.
      • getName

        public String getName()
        Description copied from interface: TileConfig
        A descriptive name of this configuration.
        Specified by:
        getName in interface  TileConfig
        Returns:
        the name.
      • createGlobalManager

        public PaintListener createGlobalManager()