com.badlogic.gdx.maps.tiled
Class TiledMap

java.lang.Object
  extended by com.badlogic.gdx.maps.Map
      extended by com.badlogic.gdx.maps.tiled.TiledMap
All Implemented Interfaces:
Disposable

public class TiledMap
extends Map

See Also:
Map

Constructor Summary
TiledMap()
          Creates empty TiledMap
 
Method Summary
 void dispose()
          Disposes all resources like Texture instances that the map may own.
 TiledMapTileSets getTileSets()
           
 void setOwnedResources(Array<? extends Disposable> resources)
          Used by loaders to set resources when loading the map directly, without AssetManager.
 
Methods inherited from class com.badlogic.gdx.maps.Map
getLayers, getProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TiledMap

public TiledMap()
Creates empty TiledMap

Method Detail

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 © 2013. All Rights Reserved.