public class RandomLevel extends RegularLevel
Level.FeelingsecretDoorsallCells, avoid, baseTileVariant, blobs, color1, color2, decoTileVariant, discoverable, entrance, fieldOfView, flammable, levelId, losBlocking, map, mapped, MIN_VIEW_DISTANCE, mobs, nearWalls, NEIGHBOURS4, NEIGHBOURS8, NEIGHBOURS9, objects, passable, pit, plants, secret, solid, visited, water| Constructor and Description |
|---|
RandomLevel() |
RandomLevel(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(int w,
int h) |
int |
nMobs() |
void |
restoreFromBundle(Bundle bundle) |
void |
storeInBundle(Bundle bundle) |
java.lang.String |
tilesTex() |
java.lang.String |
tilesTexEx() |
java.lang.String |
waterTex() |
pitCell, randomDestination, randomRespawnCell, roomisBossLevelactivateScripts, addItemToSpawn, addLevelObject, addScriptedActor, addVisuals, adjacent, allHeaps, blobAmountAt, cell, cellValid, cellValid, cellX, cellY, charPress, clearAreaFrom, clearAreaFrom, create, customTiles, discover, distance, distanceL2, dontPack, drop, exitIndex, fillAreaWith, fillAreaWith, fromBundle, get, getAllTerrainCells, getDistToNearestTerrain, getDistToNearestTerrain, getEmptyCellNextTo, getExit, getFeeling, getHeap, getHeight, getLength, getLevelObject, getLevelObject, getMaxViewDistance, getNearestTerrain, getNearestTerrain, getRandomMob, getRandomTerrainCell, getSolidCellNextTo, getTilesTex, getTileType, getTopLevelObject, getViewDistance, getWaterTex, getWidth, hasExit, isExit, isSafe, isStatic, itemPress, itemToSpanAsPrize, levelKind, levelObjectMoved, mobPress, music, noFogOfWar, objectPress, onHeroDescend, plant, press, pressHero, putLevelObject, randomRespawnCell, remove, removeHeap, removePets, reset, respawner, reveal, seal, set, set, setExit, setFeeling, spawnMob, spawnMob, tileDesc, tileDescByCell, tileName, tileNameByCell, tunnelTile, unseal, updateFieldOfView, uprootpublic RandomLevel()
public RandomLevel(java.lang.String fileName)
public java.lang.String tilesTex()
tilesTex in class CustomLevelpublic java.lang.String tilesTexEx()
tilesTexEx in class CustomLevelpublic java.lang.String waterTex()
waterTex in class CustomLevelpublic int nMobs()
nMobs in class RegularLevelpublic void storeInBundle(Bundle bundle)
storeInBundle in interface BundlablestoreInBundle in class RegularLevelpublic void restoreFromBundle(Bundle bundle)
restoreFromBundle in interface BundlablerestoreFromBundle in class RegularLevel