Skip navigation links
A B C D E F G H I L M O P R S T U V W Z 

A

act() - Method in class io.lerk.soultraps.components.Button
Runs the click handler if necessary.
act() - Method in class io.lerk.soultraps.components.HUD
Updates the HUD's image if necessary.
act() - Method in class io.lerk.soultraps.mobs.BaseMob
Method that throttles the mobs behavior.
act() - Method in class io.lerk.soultraps.sys.dialog.DialogManager
In this method, the DialogManager checks for available dialogs and displays their messages accordingly.
act() - Method in class io.lerk.soultraps.sys.dialog.Message
This method checks if the spacebar is pressed and removes the message if that's the case.
addItem(Item) - Method in class io.lerk.soultraps.mobs.Player
Method used to add an Item to the players inventory.
addMob(BaseMob) - Method in class io.lerk.soultraps.levels.Level
Adds a mob at a random "free" (of trees, bushes, stones, etc.) tile.
animateWalking() - Method in class io.lerk.soultraps.mobs.BaseMob
Animate mob.
animateWalking() - Method in class io.lerk.soultraps.mobs.Enemies.Bat
Animates walking of the lumberjack.
animateWalking() - Method in class io.lerk.soultraps.mobs.Enemies.Wolf
Animates walking of the lumberjack.
animateWalking() - Method in class io.lerk.soultraps.mobs.Enemies.Zombie
Animates walking of the lumberjack.
animateWalking() - Method in class io.lerk.soultraps.mobs.friendly.Lumberjack
Animates walking of the lumberjack.
animateWalking() - Method in class io.lerk.soultraps.mobs.Player
Animates the walking of the player.
animateWalking() - Method in class io.lerk.soultraps.mobs.stat1c.Floppy
Stub.
animateWalking() - Method in class io.lerk.soultraps.mobs.stat1c.Portal
Stub.
attack() - Method in class io.lerk.soultraps.mobs.Enemies.Bat
Determines the damage dealt to the player.
attack() - Method in class io.lerk.soultraps.mobs.Enemies.Wolf
Determines the damage dealt to the player.
attack() - Method in class io.lerk.soultraps.mobs.Enemies.Zombie
Determines the damage dealt to the player.
attack() - Method in interface io.lerk.soultraps.mobs.Enemy
This method is called in combat and determines the damage the player gets.
Axe - Class in io.lerk.soultraps.items
Axe.
Axe() - Constructor for class io.lerk.soultraps.items.Axe
Constructor.

B

BASE_HEIGHT - Static variable in class io.lerk.soultraps.levels.menu.Launcher
Base world height.
BASE_WIDTH - Static variable in class io.lerk.soultraps.levels.menu.Launcher
Base world width.
BaseMob - Class in io.lerk.soultraps.mobs
Basic mob class that contains stuff shared by all mobs.
BaseMob() - Constructor for class io.lerk.soultraps.mobs.BaseMob
Constructor.
BaseMob.Direction - Enum in io.lerk.soultraps.mobs
Direction enum.
Bat - Class in io.lerk.soultraps.mobs.Enemies
This is probably the asiest enemy mobs in the game.
Bat() - Constructor for class io.lerk.soultraps.mobs.Enemies.Bat
Constructor.
block() - Method in class io.lerk.soultraps.mobs.Enemies.Bat
Determines if the bat should block the player's attack.
block() - Method in class io.lerk.soultraps.mobs.Enemies.Wolf
Determines if the wolf should block the player's attack.
block() - Method in class io.lerk.soultraps.mobs.Enemies.Zombie
Determines if the zombie should block the player's attack.
block() - Method in interface io.lerk.soultraps.mobs.Enemy
This method decides if the enemy should block a player's attack.
Button - Class in io.lerk.soultraps.components
Simple Button that shows a black background when Soultraps.DEBUG is set.
Button() - Constructor for class io.lerk.soultraps.components.Button
Constructor.
Button(String) - Constructor for class io.lerk.soultraps.components.Button
Constructor.
Button(String, Color) - Constructor for class io.lerk.soultraps.components.Button
Constructor.
Button(String, int, int, float) - Constructor for class io.lerk.soultraps.components.Button
Constructor.
Button(String, int, int, float, Color) - Constructor for class io.lerk.soultraps.components.Button
Constructor.
byName(String) - Static method in class io.lerk.soultraps.tiles.Tiles
Finds a tile by name.

C

canWalk() - Method in class io.lerk.soultraps.mobs.BaseMob
Decides if the mob can walk (ie.
CELL_SIZE - Static variable in class io.lerk.soultraps.levels.Level
Level cell size.

D

DEBUG - Static variable in class io.lerk.soultraps.sys.Soultraps
This is used to enable debug stuff like button backgrounds.
DesertLevel - Class in io.lerk.soultraps.levels.types
Desert level.
DesertLevel(String[][], Pair<Integer, Integer>, Pair<Integer, Integer>) - Constructor for class io.lerk.soultraps.levels.types.DesertLevel
.
DesertLevel() - Constructor for class io.lerk.soultraps.levels.types.DesertLevel
.
DesertTiles - Enum in io.lerk.soultraps.tiles
Enum that contains all possible desert tiles.
dialog - Variable in class io.lerk.soultraps.mobs.DialogMob
The mob's dialog.
Dialog - Class in io.lerk.soultraps.sys.dialog
A dialog that a mob starts with a player.
Dialog() - Constructor for class io.lerk.soultraps.sys.dialog.Dialog
Constructor.
DialogManager - Class in io.lerk.soultraps.sys.dialog
Class used to display dialogQueue.
DialogMob - Class in io.lerk.soultraps.mobs
A mob that can talk.
DialogMob() - Constructor for class io.lerk.soultraps.mobs.DialogMob
 
direction - Variable in class io.lerk.soultraps.mobs.BaseMob
Direction of mob,
doAct() - Method in class io.lerk.soultraps.mobs.BaseMob
Throttled method used for stuff other than walking.
doAct() - Method in class io.lerk.soultraps.mobs.Enemies.Bat
Throttled act method that is used for anything else than walking.
doAct() - Method in class io.lerk.soultraps.mobs.Enemies.Wolf
Throttled act method that is used for anything else than walking.
doAct() - Method in class io.lerk.soultraps.mobs.Enemies.Zombie
Throttled act method that is used for anything else than walking.
doAct() - Method in class io.lerk.soultraps.mobs.friendly.Lumberjack
Throttled act method that is used for anything else than walking.
doAct() - Method in class io.lerk.soultraps.mobs.Player
Throttled acting method that is used for anything other than walking.
doAct() - Method in class io.lerk.soultraps.mobs.stat1c.Floppy
Stub.
doAct() - Method in class io.lerk.soultraps.mobs.stat1c.Portal
Stub.

E

Effect - Interface in io.lerk.soultraps.items
Item effect.
Enemy - Interface in io.lerk.soultraps.mobs
Interface that mobs implement to be able to make fights.
EnemyMob - Class in io.lerk.soultraps.mobs
 
EnemyMob() - Constructor for class io.lerk.soultraps.mobs.EnemyMob
 
evaluateSpawn(TileActor) - Static method in class io.lerk.soultraps.tiles.Tiles
Checks a given tile for fulfilling spawnpoint requirements.

F

FILE_SUFFIX - Static variable in class io.lerk.soultraps.tiles.Tiles
File suffix.
fillTiles() - Method in class io.lerk.soultraps.levels.Level
Populates Level.levelTiles with random tiles.
fillTiles() - Method in class io.lerk.soultraps.levels.types.DesertLevel
Populates Level.levelTiles with random tiles.
fillTiles() - Method in class io.lerk.soultraps.levels.types.GrasslandLevel
Populates Level.levelTiles with random tiles.
Floppy - Class in io.lerk.soultraps.mobs.stat1c
The icon that lets a player save the game.
Floppy() - Constructor for class io.lerk.soultraps.mobs.stat1c.Floppy
Constructor.
floppyCoordinates - Variable in class io.lerk.soultraps.levels.Level
Coordinates of the Floppy in this level.
Fonts - Class in io.lerk.soultraps.sys
Utility class for fonts.
Fonts() - Constructor for class io.lerk.soultraps.sys.Fonts
 
Fonts.Types - Enum in io.lerk.soultraps.sys
Font types.

G

get() - Static method in class io.lerk.soultraps.sys.dialog.DialogManager
Singleton getter.
getDamage() - Method in class io.lerk.soultraps.items.Item
Getter for item damage.
getDescription() - Method in class io.lerk.soultraps.items.Item
Getter for item description.
getDialog() - Method in class io.lerk.soultraps.mobs.DialogMob
Method to get the mobs dialog.
getDialog() - Method in class io.lerk.soultraps.sys.dialog.Message
Getter for the dialog this message belongs to.
getDialogDoneAction() - Method in class io.lerk.soultraps.mobs.DialogMob
Method to get the Handler that is run after the dialog is done.
getDialogDoneAction() - Method in class io.lerk.soultraps.mobs.friendly.Lumberjack
Method to get the dialog done action handler.
getDialogDoneAction() - Method in class io.lerk.soultraps.mobs.Player
Dummy method, the player has no dialog.
getDialogDoneAction() - Method in class io.lerk.soultraps.mobs.stat1c.Floppy
Method to get the Handler that is run after the dialog is done.
getDialogDoneAction() - Method in class io.lerk.soultraps.mobs.stat1c.Portal
Method to get the Handler that is run after the dialog is done.
getDialogMessages() - Method in class io.lerk.soultraps.mobs.DialogMob
Method to get a DialogMob's dialog strings.
getDialogMessages() - Method in class io.lerk.soultraps.mobs.friendly.Lumberjack
Method to get the lumberjacks dialog.
getDialogMessages() - Method in class io.lerk.soultraps.mobs.Player
Dummy method, the player has no dialog.
getDialogMessages() - Method in class io.lerk.soultraps.mobs.stat1c.Floppy
Method to get a DialogMob's dialog strings.
getDialogMessages() - Method in class io.lerk.soultraps.mobs.stat1c.Portal
Method to get a DialogMob's dialog strings.
getDoneAction() - Method in class io.lerk.soultraps.sys.dialog.Dialog
Getter for the dialog's done action.
getEffects() - Method in class io.lerk.soultraps.items.Item
Getter for item effects.
getElapsedTime() - Method in class io.lerk.soultraps.sys.StopWatch
Gets currently elapsed time in nanoseconds.
getElapsedTimeMillis() - Method in class io.lerk.soultraps.sys.StopWatch
Gets currently elapsed time in milliseconds.
getElapsedTimeSecs() - Method in class io.lerk.soultraps.sys.StopWatch
Gets currently elapsed time in seconds.
getFloppyCoordinates() - Method in class io.lerk.soultraps.levels.Level
Getter for floppy coordinates.
getFloppyCoordinates() - Method in class io.lerk.soultraps.sys.savegame.LevelDTO
 
getFont(Fonts.Types) - Static method in class io.lerk.soultraps.sys.Fonts
Gets a font by Fonts.Types.
getFont(Fonts.Types, float) - Static method in class io.lerk.soultraps.sys.Fonts
Gets a font by Fonts.Types with a particular size.
getHealth() - Method in class io.lerk.soultraps.mobs.BaseMob
Getter for health.
getItems() - Method in class io.lerk.soultraps.mobs.Player
Getter for the player's Player.items.
getItems() - Method in class io.lerk.soultraps.sys.savegame.PlayerDTO
 
getLevel() - Method in class io.lerk.soultraps.sys.Savegame
 
getLevelTiles() - Method in class io.lerk.soultraps.levels.Level
Getter for levelTiles.
getLevelTiles() - Method in class io.lerk.soultraps.sys.savegame.LevelDTO
 
getLevelType() - Method in class io.lerk.soultraps.sys.savegame.LevelDTO
 
getMessages() - Method in class io.lerk.soultraps.sys.dialog.Dialog
Getter for the dialog's messages.
getMob() - Method in class io.lerk.soultraps.sys.dialog.Dialog
Getter for the dialogs mob.
getName() - Method in class io.lerk.soultraps.items.Item
Getter for item name.
getName() - Method in enum io.lerk.soultraps.sys.Fonts.Types
Getter for font name.
getName() - Method in enum io.lerk.soultraps.tiles.DesertTiles
Getter for tile name.
getName() - Method in enum io.lerk.soultraps.tiles.GrasslandTiles
Getter for tile name.
getName() - Method in enum io.lerk.soultraps.tiles.MiscTiles
Getter for tile name.
getName() - Method in interface io.lerk.soultraps.tiles.Tile
Get the tile name.
getPortalCoordinates() - Method in class io.lerk.soultraps.levels.Level
Getter for portal coordinates.
getPortalCoordinates() - Method in class io.lerk.soultraps.sys.savegame.LevelDTO
 
getPosX() - Method in class io.lerk.soultraps.sys.savegame.PlayerDTO
 
getPosY() - Method in class io.lerk.soultraps.sys.savegame.PlayerDTO
 
getRandomTile() - Method in class io.lerk.soultraps.levels.Level
Generates a random tile name.
getRandomTile() - Method in class io.lerk.soultraps.levels.types.DesertLevel
Generates a random tile name.
getRandomTile() - Method in class io.lerk.soultraps.levels.types.GrasslandLevel
Generates a random tile name.
getRotation() - Method in enum io.lerk.soultraps.mobs.BaseMob.Direction
Getter for image rotation.
getSavedXPos() - Method in class io.lerk.soultraps.mobs.Player
Getter for last saved X position.
getSavedYPos() - Method in class io.lerk.soultraps.mobs.Player
Getter for last saved Y position.
getSelf() - Static method in class io.lerk.soultraps.mobs.Player
Singleton getter for player.
getText() - Method in class io.lerk.soultraps.components.Button
Getter for button text.
getTileType() - Method in class io.lerk.soultraps.tiles.TileActor
Getter for tile type.
getType() - Method in class io.lerk.soultraps.levels.Level
Getter for level type.
getType() - Method in class io.lerk.soultraps.levels.menu.Launcher
Getter for level type.
getType() - Method in class io.lerk.soultraps.levels.menu.Options
Getter for level type.
getType() - Method in class io.lerk.soultraps.levels.types.DesertLevel
Getter for level type.
getType() - Method in class io.lerk.soultraps.levels.types.GrasslandLevel
Getter for level type.
getValue() - Method in class io.lerk.soultraps.items.Item
Getter for item value.
getWeight() - Method in class io.lerk.soultraps.items.Item
Getter for item weight.
GrasslandLevel - Class in io.lerk.soultraps.levels.types
Grassland level.
GrasslandLevel(String[][], Pair<Integer, Integer>, Pair<Integer, Integer>) - Constructor for class io.lerk.soultraps.levels.types.GrasslandLevel
.
GrasslandLevel() - Constructor for class io.lerk.soultraps.levels.types.GrasslandLevel
.
GrasslandTiles - Enum in io.lerk.soultraps.tiles
Enum that contains all possible grassland tiles.
greenfoot - package greenfoot
 

H

handle() - Method in interface io.lerk.soultraps.items.Effect
 
handle() - Method in interface io.lerk.soultraps.sys.Handler
Handle method
Handler<T> - Interface in io.lerk.soultraps.sys
Handler interface to be used as callback.
HUD - Class in io.lerk.soultraps.components
A HUD showing the player's current health and other stuff.
HUD() - Constructor for class io.lerk.soultraps.components.HUD
Constructor.

I

IntroLevel - Class in io.lerk.soultraps.levels.playable
The first level the player reaches after the main menu.
IntroLevel() - Constructor for class io.lerk.soultraps.levels.playable.IntroLevel
Constructor.
io.lerk.soultraps.components - package io.lerk.soultraps.components
 
io.lerk.soultraps.items - package io.lerk.soultraps.items
 
io.lerk.soultraps.levels - package io.lerk.soultraps.levels
 
io.lerk.soultraps.levels.menu - package io.lerk.soultraps.levels.menu
 
io.lerk.soultraps.levels.playable - package io.lerk.soultraps.levels.playable
 
io.lerk.soultraps.levels.types - package io.lerk.soultraps.levels.types
 
io.lerk.soultraps.mobs - package io.lerk.soultraps.mobs
 
io.lerk.soultraps.mobs.Enemies - package io.lerk.soultraps.mobs.Enemies
 
io.lerk.soultraps.mobs.friendly - package io.lerk.soultraps.mobs.friendly
 
io.lerk.soultraps.mobs.stat1c - package io.lerk.soultraps.mobs.stat1c
 
io.lerk.soultraps.sys - package io.lerk.soultraps.sys
 
io.lerk.soultraps.sys.dialog - package io.lerk.soultraps.sys.dialog
 
io.lerk.soultraps.sys.savegame - package io.lerk.soultraps.sys.savegame
 
io.lerk.soultraps.tiles - package io.lerk.soultraps.tiles
 
isBlocking() - Method in enum io.lerk.soultraps.tiles.DesertTiles
Getter for blocking.
isBlocking() - Method in enum io.lerk.soultraps.tiles.GrasslandTiles
Getter for blocking.
isBlocking() - Method in enum io.lerk.soultraps.tiles.MiscTiles
Getter for blocking.
isBlocking() - Method in interface io.lerk.soultraps.tiles.Tile
Getter used to decide if the player should be able to step across/on top of/over the tile.
isErrorShown() - Static method in class io.lerk.soultraps.sys.Savegame
 
isMirroredH() - Method in enum io.lerk.soultraps.mobs.BaseMob.Direction
Getter for mirror image horizontally.
isMirroredV() - Method in enum io.lerk.soultraps.mobs.BaseMob.Direction
Getter for mirror image vertically.
isOverlappingTileOtherThanEmptyOrGround() - Method in class io.lerk.soultraps.tiles.TileActor
Checks if the tile is overlapping something else than ground or empty tiles.
isTalking() - Method in class io.lerk.soultraps.mobs.DialogMob
Getter for DialogMob.talking.
isTileOtherThanGround() - Method in class io.lerk.soultraps.tiles.TileActor
Checks if current tile is other than ground.
Item - Class in io.lerk.soultraps.items
Base item class.
Item(String, String, int, int, int, List<Effect>) - Constructor for class io.lerk.soultraps.items.Item
Constructor.

L

Launcher - Class in io.lerk.soultraps.levels.menu
The launcher or main menu.
Launcher() - Constructor for class io.lerk.soultraps.levels.menu.Launcher
Constructor.
Level - Class in io.lerk.soultraps.levels
Base level class with word generation logic.
Level() - Constructor for class io.lerk.soultraps.levels.Level
Constructor.
Level(String[][], Pair<Integer, Integer>, Pair<Integer, Integer>) - Constructor for class io.lerk.soultraps.levels.Level
Constructor that allows the level to be constructed using a predefined set of tiles.
LEVEL_HEIGHT - Static variable in class io.lerk.soultraps.levels.Level
Base world height.
LEVEL_WIDTH - Static variable in class io.lerk.soultraps.levels.Level
Base world width.
LevelDTO - Class in io.lerk.soultraps.sys.savegame
 
LevelDTO(String[][], LevelType, Pair<Integer, Integer>, Pair<Integer, Integer>) - Constructor for class io.lerk.soultraps.sys.savegame.LevelDTO
 
LevelDTO() - Constructor for class io.lerk.soultraps.sys.savegame.LevelDTO
 
levelTiles - Variable in class io.lerk.soultraps.levels.Level
Table containing all the level tiles.
LevelType - Enum in io.lerk.soultraps.levels.types
Level type enum.
Lumberjack - Class in io.lerk.soultraps.mobs.friendly
The lumberjack walks around randomly when no trees are in range, otherwise it moves towards them with some chance.
Lumberjack() - Constructor for class io.lerk.soultraps.mobs.friendly.Lumberjack
 

M

main(String[]) - Static method in class io.lerk.soultraps.sys.Soultraps
Main method.
maxHealth() - Method in class io.lerk.soultraps.mobs.BaseMob
Get the mobs max possible health.
maxHealth() - Method in class io.lerk.soultraps.mobs.Enemies.Bat
Method that returns the max health of the lumberjack.
maxHealth() - Method in class io.lerk.soultraps.mobs.Enemies.Wolf
Method that returns the max health of the lumberjack.
maxHealth() - Method in class io.lerk.soultraps.mobs.Enemies.Zombie
Method that returns the max health of the lumberjack.
maxHealth() - Method in class io.lerk.soultraps.mobs.friendly.Lumberjack
Method that returns the max health of the lumberjack.
maxHealth() - Method in class io.lerk.soultraps.mobs.Player
Returns the max possible player health.
maxHealth() - Method in class io.lerk.soultraps.mobs.stat1c.Floppy
Stub.
maxHealth() - Method in class io.lerk.soultraps.mobs.stat1c.Portal
Stub.
Message - Class in io.lerk.soultraps.sys.dialog
An Actor implementation that represents a message.
Message(String, Dialog) - Constructor for class io.lerk.soultraps.sys.dialog.Message
Constructor.
MiscTiles - Enum in io.lerk.soultraps.tiles
Enum that contains some misc tiles.

O

Options - Class in io.lerk.soultraps.levels.menu
Options screen.
Options(Launcher) - Constructor for class io.lerk.soultraps.levels.menu.Options
Constructor.
orientMob() - Method in class io.lerk.soultraps.mobs.BaseMob
Orients (rotates) the mob.

P

Player - Class in io.lerk.soultraps.mobs
Player class.
PlayerDTO - Class in io.lerk.soultraps.sys.savegame
 
PlayerDTO(ArrayList<String>, int, int) - Constructor for class io.lerk.soultraps.sys.savegame.PlayerDTO
 
PlayerDTO() - Constructor for class io.lerk.soultraps.sys.savegame.PlayerDTO
 
Portal - Class in io.lerk.soultraps.mobs.stat1c
The portal that takes the player to the next level.
Portal() - Constructor for class io.lerk.soultraps.mobs.stat1c.Portal
Constructor.
portalCoordinates - Variable in class io.lerk.soultraps.levels.Level
Coordinates of the Portal in this level.

R

random() - Static method in enum io.lerk.soultraps.mobs.BaseMob.Direction
Generates a random BaseMob.Direction.
randomGroundTile() - Method in class io.lerk.soultraps.levels.Level
Generate a random ground tile.
randomGroundTile() - Method in class io.lerk.soultraps.levels.types.DesertLevel
Generate a random ground tile.
randomGroundTile() - Method in class io.lerk.soultraps.levels.types.GrasslandLevel
Generate a random ground tile.
read() - Static method in class io.lerk.soultraps.sys.Savegame
Reads a Savegame from the default location.
RegularDesertLevel - Class in io.lerk.soultraps.levels.playable
This is a regular (ie.
RegularDesertLevel() - Constructor for class io.lerk.soultraps.levels.playable.RegularDesertLevel
.
RegularDesertLevel(String[][], Pair<Integer, Integer>, Pair<Integer, Integer>) - Constructor for class io.lerk.soultraps.levels.playable.RegularDesertLevel
.
RegularGrasslandLevel - Class in io.lerk.soultraps.levels.playable
This is a regular (ie.
RegularGrasslandLevel() - Constructor for class io.lerk.soultraps.levels.playable.RegularGrasslandLevel
.
RegularGrasslandLevel(String[][], Pair<Integer, Integer>, Pair<Integer, Integer>) - Constructor for class io.lerk.soultraps.levels.playable.RegularGrasslandLevel
.
restore(PlayerDTO) - Static method in class io.lerk.soultraps.mobs.Player
Restores state from a PlayerDTO loaded from a file.
restorePlayer() - Method in class io.lerk.soultraps.sys.Savegame
 
run() - Method in class io.lerk.soultraps.mobs.Enemies.Bat
Determines if the bat should try to run.
run() - Method in class io.lerk.soultraps.mobs.Enemies.Wolf
Determines if the wolf should try to run.
run() - Method in class io.lerk.soultraps.mobs.Enemies.Zombie
Determines if the zombie should try to run.
run() - Method in interface io.lerk.soultraps.mobs.Enemy
This method decides if the enemy should try to run.

S

Savegame - Class in io.lerk.soultraps.sys
Savegame class.
Savegame(Level, Player) - Constructor for class io.lerk.soultraps.sys.Savegame
Constructor.
setDamage(int) - Method in class io.lerk.soultraps.items.Item
Setter for item damage.
setDescription(String) - Method in class io.lerk.soultraps.items.Item
Setter for description.
setDoneAction(Handler<Void>) - Method in class io.lerk.soultraps.sys.dialog.Dialog
Setter for the dialog's done action.
setEffects(List<Effect>) - Method in class io.lerk.soultraps.items.Item
Setter for item effects.
setFloppyCoordinates(Pair<Integer, Integer>) - Method in class io.lerk.soultraps.sys.savegame.LevelDTO
 
setHandler(Handler<Void>) - Method in class io.lerk.soultraps.components.Button
Setter for the button click handler.
setHealth(Integer) - Method in class io.lerk.soultraps.mobs.BaseMob
Setter for health.
setItems(ArrayList<String>) - Method in class io.lerk.soultraps.sys.savegame.PlayerDTO
 
setLevelTiles(String[][]) - Method in class io.lerk.soultraps.sys.savegame.LevelDTO
 
setLevelType(LevelType) - Method in class io.lerk.soultraps.sys.savegame.LevelDTO
 
setMessages(ArrayList<Message>) - Method in class io.lerk.soultraps.sys.dialog.Dialog
Setter for the dialog's messages.
setMob(DialogMob) - Method in class io.lerk.soultraps.sys.dialog.Dialog
Setter for the dialog's mob.
setName(String) - Method in class io.lerk.soultraps.items.Item
Setter for item name.
setPortalCoordinates(Pair<Integer, Integer>) - Method in class io.lerk.soultraps.sys.savegame.LevelDTO
 
setPosX(int) - Method in class io.lerk.soultraps.sys.savegame.PlayerDTO
 
setPosY(int) - Method in class io.lerk.soultraps.sys.savegame.PlayerDTO
 
setTalking(boolean) - Method in class io.lerk.soultraps.mobs.DialogMob
Setter for DialogMob.talking.
setValue(int) - Method in class io.lerk.soultraps.items.Item
Setter for item value.
setWeight(int) - Method in class io.lerk.soultraps.items.Item
Setter for item weight.
shouldStartConversation() - Method in class io.lerk.soultraps.mobs.DialogMob
Method to determine if the mob should start a conversation.
shouldStartConversation() - Method in class io.lerk.soultraps.mobs.friendly.Lumberjack
Method to determine if the mob should start a conversation.
shouldStartConversation() - Method in class io.lerk.soultraps.mobs.Player
Dummy method, the player has no dialog.
shouldStartConversation() - Method in class io.lerk.soultraps.mobs.stat1c.Floppy
Method to determine if the mob should start a conversation.
shouldStartConversation() - Method in class io.lerk.soultraps.mobs.stat1c.Portal
Method to determine if the mob should start a conversation.
Soultraps - Class in io.lerk.soultraps.sys
Main Soultraps application.
Soultraps() - Constructor for class io.lerk.soultraps.sys.Soultraps
 
SoultrapsFont - Class in greenfoot
This class is used to make custom fonts available in Greenfoot.
SoultrapsFont(Font) - Constructor for class greenfoot.SoultrapsFont
Public constructor that accepts Font.
start() - Method in class io.lerk.soultraps.sys.StopWatch
Starts the stopwatch.
startAttack(Enemy) - Method in class io.lerk.soultraps.mobs.Player
Starts a fight with a given enemy.
startDialog(Dialog) - Static method in class io.lerk.soultraps.sys.dialog.DialogManager
Displays a message to the user.
stop(String) - Method in class io.lerk.soultraps.sys.StopWatch
Stops the stopwatch and prints out the stats.
StopWatch - Class in io.lerk.soultraps.sys
Stop watch utility class.
StopWatch(StopWatch.LogLevel) - Constructor for class io.lerk.soultraps.sys.StopWatch
Constructor.
StopWatch.LogLevel - Enum in io.lerk.soultraps.sys
Log levels.

T

Tile - Interface in io.lerk.soultraps.tiles
Base interface for tile.
TileActor - Class in io.lerk.soultraps.tiles
TileActor class.
Tiles - Class in io.lerk.soultraps.tiles
Utility class for tiles.
Tiles() - Constructor for class io.lerk.soultraps.tiles.Tiles
 
type - Variable in class io.lerk.soultraps.levels.Level
Level type.

U

updateWalkingState() - Method in class io.lerk.soultraps.mobs.BaseMob
This method should update BaseMob.walking and BaseMob.direction according to mob state.
updateWalkingState() - Method in class io.lerk.soultraps.mobs.DialogMob
Only calls DialogMob.updateWalkingStateNotTalking() when not talking.
updateWalkingState() - Method in class io.lerk.soultraps.mobs.EnemyMob
Updates the walking state according to trees in range or if the player is currently overlapping.
updateWalkingStateNotTalking() - Method in class io.lerk.soultraps.mobs.DialogMob
Same thing BaseMob.updateWalkingState() does but only when the mob is not talking.
updateWalkingStateNotTalking() - Method in class io.lerk.soultraps.mobs.friendly.Lumberjack
Updates the walking state according to trees in range or if the player is currently overlapping.
updateWalkingStateNotTalking() - Method in class io.lerk.soultraps.mobs.Player
Updates BaseMob.walking and BaseMob.direction according to currently pressed buttons.
updateWalkingStateNotTalking() - Method in class io.lerk.soultraps.mobs.stat1c.Floppy
Stub.
updateWalkingStateNotTalking() - Method in class io.lerk.soultraps.mobs.stat1c.Portal
Stub.

V

valueOf(String) - Static method in enum io.lerk.soultraps.levels.types.LevelType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.lerk.soultraps.mobs.BaseMob.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.lerk.soultraps.sys.Fonts.Types
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.lerk.soultraps.sys.StopWatch.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.lerk.soultraps.tiles.DesertTiles
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.lerk.soultraps.tiles.GrasslandTiles
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.lerk.soultraps.tiles.MiscTiles
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.lerk.soultraps.levels.types.LevelType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.lerk.soultraps.mobs.BaseMob.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.lerk.soultraps.sys.Fonts.Types
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.lerk.soultraps.sys.StopWatch.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.lerk.soultraps.tiles.DesertTiles
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.lerk.soultraps.tiles.GrasslandTiles
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.lerk.soultraps.tiles.MiscTiles
Returns an array containing the constants of this enum type, in the order they are declared.

W

walk() - Method in class io.lerk.soultraps.mobs.BaseMob
Moves the mob if possible.
walk() - Method in class io.lerk.soultraps.mobs.stat1c.Floppy
Stub.
walk() - Method in class io.lerk.soultraps.mobs.stat1c.Portal
Stub.
walking - Variable in class io.lerk.soultraps.mobs.BaseMob
If mob is walking.
Wolf - Class in io.lerk.soultraps.mobs.Enemies
This is one of the easier mobs to deal with.
Wolf() - Constructor for class io.lerk.soultraps.mobs.Enemies.Wolf
Constructor.
write() - Method in class io.lerk.soultraps.sys.Savegame
Writes a Savegame to the default location.

Z

Zombie - Class in io.lerk.soultraps.mobs.Enemies
This mob is a bit more challenging, suitable for more advanced players.
Zombie() - Constructor for class io.lerk.soultraps.mobs.Enemies.Zombie
Constructor.
A B C D E F G H I L M O P R S T U V W Z 
Skip navigation links

Copyright © 2019. All rights reserved.