Package com.prineside.luaj.mapping.parts
Class LJ_TDI.Factory_DU.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_TDI.Factory_DU.LIP
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,com.esotericsoftware.kryo.KryoSerializable,Tile.Factory
- Enclosing class:
- LJ_TDI.Factory_DU
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.Tile.Factory
Tile.Factory.AbstractFactory<T extends Tile> -
Method Summary
Modifier and TypeMethodDescriptioncreate()createRandom(float p1, com.badlogic.gdx.math.RandomXS128 p2) voiddispose()Releases all resources of this object.fromJson(com.badlogic.gdx.utils.JsonValue p1) intgetProbabilityForPrize(float p1, ProgressManager.InventoryStatistics p2) getTitle()voidsetup()Вызывается, когда объекты всех Managers созданыMethods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
create
- Specified by:
createin interfaceTile.Factory
-
createRandom
- Specified by:
createRandomin interfaceTile.Factoryp2- может быть null (тогда используется FastRandom)- Returns:
- тайл с определенным качеством или null, если тайл невозможно создать с таким качеством (всегда одинаково для одинакового качества, без рандома)
-
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
-
fromJson
- Specified by:
fromJsonin interfaceTile.Factory
-
getDescription
- Specified by:
getDescriptionin interfaceTile.Factory
-
getProbabilityForPrize
- Specified by:
getProbabilityForPrizein interfaceTile.Factory
-
getTitle
- Specified by:
getTitlein interfaceTile.Factory
-
setup
public void setup()Description copied from interface:Tile.FactoryВызывается, когда объекты всех Managers созданы- Specified by:
setupin interfaceTile.Factory
-