Package com.prineside.tdi2
Interface Tile.Factory<T extends Tile>
- All Superinterfaces:
 com.badlogic.gdx.utils.Disposable
- All Known Implementing Classes:
 BossTile.BossTileFactory,CoreTile.CoreTileFactory,DummyTile.DummyTileFactory,EqualizerTile.EqualizerTileFactory,GameValueTile.GameValueTileFactory,LJ_TDI.Factory_DU.LIP,PlatformTile.SpaceTileFactory,QuadTile.QuadTileFactory,RoadTile.RoadTileFactory,ScriptTile.ScriptTileFactory,SourceTile.SourceTileFactory,SpawnTile.SpawnTileFactory,TargetTile.TargetTileFactory,Tile.Factory.AbstractFactory,XmMusicTrackTile.XmMusicTrackTileFactory
- Enclosing class:
 - Tile
 
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptioncreate()createRandom(float quality, com.badlogic.gdx.math.RandomXS128 random) fromJson(com.badlogic.gdx.utils.JsonValue jsonValue) intgetProbabilityForPrize(float quality, ProgressManager.InventoryStatistics inventoryStatistics) getTitle()voidsetup()Вызывается, когда объекты всех Managers созданыMethods inherited from interface com.badlogic.gdx.utils.Disposable
dispose 
- 
Method Details
- 
setup
void setup()Вызывается, когда объекты всех Managers созданы - 
getTitle
String getTitle() - 
getDescription
String getDescription() - 
getProbabilityForPrize
 - 
create
T create() - 
createRandom
- Parameters:
 random- может быть null (тогда используется FastRandom)- Returns:
 - тайл с определенным качеством или null, если тайл невозможно создать с таким качеством (всегда одинаково для одинакового качества, без рандома)
 
 - 
fromJson
 
 -