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>
-
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
createRandom
(float p1, com.badlogic.gdx.math.RandomXS128 p2) void
dispose()
Releases all resources of this object.fromJson
(com.badlogic.gdx.utils.JsonValue p1) int
getProbabilityForPrize
(float p1, ProgressManager.InventoryStatistics p2) getTitle()
void
setup()
Вызывается, когда объекты всех Managers созданыMethods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
create
- Specified by:
create
in interfaceTile.Factory
-
createRandom
- Specified by:
createRandom
in interfaceTile.Factory
p2
- может быть null (тогда используется FastRandom)- Returns:
- тайл с определенным качеством или null, если тайл невозможно создать с таким качеством (всегда одинаково для одинакового качества, без рандома)
-
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.Disposable
Releases all resources of this object.- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-
fromJson
- Specified by:
fromJson
in interfaceTile.Factory
-
getDescription
- Specified by:
getDescription
in interfaceTile.Factory
-
getProbabilityForPrize
- Specified by:
getProbabilityForPrize
in interfaceTile.Factory
-
getTitle
- Specified by:
getTitle
in interfaceTile.Factory
-
setup
public void setup()Description copied from interface:Tile.Factory
Вызывается, когда объекты всех Managers созданы- Specified by:
setup
in interfaceTile.Factory
-