Package com.prineside.tdi2.managers
Class TileManager
java.lang.Object
com.prineside.tdi2.Manager.ManagerAdapter
com.prineside.tdi2.managers.TileManager
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,Manager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface com.prineside.tdi2.Manager
Manager.ManagerAdapter, Manager.ManagerWithListeners<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRandomTile(float quality, com.badlogic.gdx.math.RandomXS128 random, ProgressManager.InventoryStatistics inventoryStatistics) Tile[][]createTileArrayFromJson(com.badlogic.gdx.utils.JsonValue jsonValue, boolean flipVertically) Deprecated.createTileFromJson(com.badlogic.gdx.utils.JsonValue jsonValue) createTileFromJsonString(String jsonString) voiddispose()Releases all resources of this object.Tile.Factory<? extends Tile>getFactory(TileType tileType) com.badlogic.gdx.graphics.g2d.TextureRegiongetRoadTexture(Tile left, Tile right, Tile top, Tile bottom) voidsetup()Вызывается, когда объекты всех менеджеров созданы и можно к ним обращатьсяMethods inherited from class com.prineside.tdi2.Manager.ManagerAdapter
clearPools, postRender, preRender, test
-
Field Details
-
F
-
-
Constructor Details
-
TileManager
public TileManager()
-
-
Method Details
-
setup
public void setup()Description copied from interface:ManagerВызывается, когда объекты всех менеджеров созданы и можно к ним обращаться- Specified by:
setupin interfaceManager- Overrides:
setupin classManager.ManagerAdapter
-
getFactory
-
createTileFromJsonString
-
createTileFromJson
-
createTileArrayFromJson
@Deprecated public Tile[][] createTileArrayFromJson(com.badlogic.gdx.utils.JsonValue jsonValue, boolean flipVertically) Deprecated. -
getRoadTexture
-
createRandomTile
public Tile createRandomTile(float quality, com.badlogic.gdx.math.RandomXS128 random, ProgressManager.InventoryStatistics inventoryStatistics) -
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable- Overrides:
disposein classManager.ManagerAdapter
-