com.badlogic.gdx.maps.tiled
Class TiledMap
java.lang.Object
com.badlogic.gdx.maps.Map
com.badlogic.gdx.maps.tiled.TiledMap
- All Implemented Interfaces:
- Disposable
public class TiledMap
- extends Map
- See Also:
Map
Constructor Summary |
TiledMap()
Creates an empty TiledMap. |
TiledMap
public TiledMap()
- Creates an empty TiledMap.
getTileSets
public TiledMapTileSets getTileSets()
- Returns:
- collection of tilesets for this map.
setOwnedResources
public void setOwnedResources(Array<? extends Disposable> resources)
- Used by loaders to set resources when loading the map directly, without
AssetManager
. To be disposed in
dispose()
.
- Parameters:
resources
-
dispose
public void dispose()
- Description copied from class:
Map
- Disposes all resources like
Texture
instances that the map may own.
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class Map
Copyright © 2014. All Rights Reserved.