public class Dungeon
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
arcaneStyli |
static int |
challenges |
static java.util.HashSet<java.lang.Integer> |
chapters |
static int |
depth |
static boolean |
dewVial |
static Hero |
hero |
static HeroClass |
heroClass |
static Level |
level |
static boolean |
nightMode |
static int |
potionOfStrength |
static int |
scrollsOfUpgrade |
static int |
transmutation |
static boolean[] |
visible |
Constructor and Description |
---|
Dungeon() |
Modifier and Type | Method and Description |
---|---|
static boolean |
asNeeded() |
static boolean |
bossLevel() |
static void |
challengeAllMobs(Char ch,
java.lang.String sound) |
static Position |
currentPosition() |
static void |
deleteGame(boolean deleteLevels) |
static void |
fail(java.lang.String desc) |
static int |
findPath(Char ch,
int from,
int to,
boolean[] pass,
boolean[] visible) |
static int |
flee(Char ch,
int cur,
int from,
boolean[] pass,
boolean[] visible) |
static Bundle |
gameBundle(java.lang.String fileName) |
static void |
gameOver() |
static int |
gold() |
static void |
gold(int value) |
static void |
init() |
static void |
initSizeDependentStuff(int w,
int h) |
static boolean |
isChallenged(int mask) |
static boolean |
isLoading() |
static void |
loadGame() |
static void |
loadGame(java.lang.String fileName,
boolean fullLoad) |
static void |
loadGameForRankings(java.lang.String fileName) |
static void |
loadGameFromBundle(Bundle bundle,
boolean fullLoad) |
static Level |
loadLevel(Position next) |
static Level |
newLevel(Position pos) |
static void |
observe() |
static boolean |
posNeeded() |
static void |
preview(GamesInProgress.Info info,
Bundle bundle) |
static void |
resetLevel() |
static void |
saveAll() |
static void |
saveGame(java.lang.String fileName) |
static void |
saveLevel() |
static void |
setDifficulty(int _difficulty) |
static boolean |
shopOnLevel(Level level) |
static boolean |
soeNeeded() |
static void |
switchLevel(Level level,
int pos,
java.lang.String levelId) |
static java.lang.String |
tip() |
static java.lang.String |
tip(Level _level) |
static void |
win(java.lang.String desc,
Rankings.gameOver kind) |
public static int potionOfStrength
public static int scrollsOfUpgrade
public static int arcaneStyli
public static boolean dewVial
public static int transmutation
public static int challenges
public static Hero hero
public static Level level
public static int depth
public static java.util.HashSet<java.lang.Integer> chapters
public static boolean[] visible
public static boolean nightMode
public static HeroClass heroClass
public static void initSizeDependentStuff(int w, int h)
public static void init()
public static boolean isChallenged(int mask)
public static void resetLevel()
public static java.lang.String tip()
public static java.lang.String tip(Level _level)
public static boolean shopOnLevel(Level level)
public static boolean bossLevel()
public static void switchLevel(Level level, int pos, java.lang.String levelId)
public static boolean posNeeded()
public static boolean soeNeeded()
public static boolean asNeeded()
public static void gameOver()
public static void saveGame(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static void saveLevel() throws java.io.IOException
java.io.IOException
public static void saveAll()
public static void loadGame() throws java.io.IOException
java.io.IOException
public static void loadGameForRankings(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static void loadGameFromBundle(Bundle bundle, boolean fullLoad)
public static void loadGame(java.lang.String fileName, boolean fullLoad) throws java.io.IOException
java.io.IOException
public static Level loadLevel(Position next) throws java.io.IOException
java.io.IOException
public static void deleteGame(boolean deleteLevels)
public static Bundle gameBundle(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static void preview(GamesInProgress.Info info, Bundle bundle)
public static void fail(java.lang.String desc)
public static void win(java.lang.String desc, Rankings.gameOver kind)
public static void observe()
public static int findPath(Char ch, int from, int to, boolean[] pass, boolean[] visible)
public static int flee(Char ch, int cur, int from, boolean[] pass, boolean[] visible)
public static void challengeAllMobs(Char ch, java.lang.String sound)
public static Position currentPosition()
public static void setDifficulty(int _difficulty)
public static int gold()
public static void gold(int value)
public static boolean isLoading()