public class ManagerTileConfig extends Objectimplements TileConfig
| Constructor and Description |
|---|
ManagerTileConfig(int id, String
Create a new instance of TileConfig that simply presents a single manager instance.
|
| Modifier and Type | Method and Description |
|---|---|
PaintListener |
createGlobalManager()
|
ImageManager |
createImageManager()
Create an ImageManager for tiles from this TileConfig instance.
|
int |
getId()
A unique id that can be used to identify this TileConfig instance.
|
String |
getName()
A descriptive name of this configuration.
|
public ManagerTileConfig(int id,
String name,
ImageManager<Tile,BufferedImage> manager)
id - the id to use.
name - the name for this configuration.
manager - the manager that this configuration should provide.
public int getId()
TileConfig
getId in interface
TileConfig
public StringgetName()
TileConfig
getName in interface
TileConfig
public ImageManager<Tile ,BufferedImage > createImageManager()
TileConfig
createImageManager in interface
TileConfig
public PaintListenercreateGlobalManager()