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

A

attack(int, int, int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
x and y are the position thats being tested xOrig and yOrig are the position of the object now
attacking(Player) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
a method for attacking the player
attacking(Monster) - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
a method for attacking monsters and incrementing player's score

B

Bat - Class in edu.ucsb.cs56.projects.games.roguelike
This class represents a class of monster called a Bat which is a weak melee monster.
Bat() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Bat
creates a Bat with 5 hitPoints and 1 attack with no random movement with icon B
Bat(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Bat
creates a Bat with 5 HP and 1 attack with icon B
Bat(int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Bat
creates a Bat with hit points, attack, and random movement with icon B
Bat(int, int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Bat
creates a Bat to the parameters given to it, with icon B
Beef - Class in edu.ucsb.cs56.projects.games.roguelike
 
Beef() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Beef
this is the default constructor for the Beef.
Beef(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Beef
this is an 1 arg consrtuctor that will set how much the beef will increase the player's attack
Beef(boolean) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Beef
this is an 1 arg consrtuctor that will set whether the item has been used or not
black - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
blue - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
brown - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 

C

canvas - Variable in class edu.ucsb.cs56.projects.games.roguelike.RogueController
 
checkAllMonsterStatus() - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Check to see if all monsters are dead and creates more monsters!!! OMG!!
checkPlayerStatus() - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Checks to see if player is dead, and store score into txt file for HighScores
clear() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Clear the entire screen to whatever the default background color is.
clear(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Clear the character at int x,y to whatever the default background color is.
clear(char, int, int, int, int, Color, Color) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Clear the section of the screen with the specified character and whatever the specified foreground and background colors are.
clearAllItems() - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
 
consumeItem(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
createAllObjects() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
creates all the monsters and player in the game
createItem(int, int, Item) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
creates specified item at specified location
createMonster() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
creates monsters at random, some monsters appearing multiple times and some not appearing at all
cyan - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 

D

deleteItem(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
displayLosingScreen(int, int[]) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
displays the losing screen with player's score and HighScores
displayWinningScreen() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
displays the winning screen
drawAllItems() - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Makes sure all items stay visible on the screen.
drawChar(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Draw an "@" symbol at x,y using the RoguePanel's write(string,int,int,color,color) method.
drawHUD() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Draw HUD: text for information like the last read input, x and y coordinate of the character.
drawItem(int, int, Item) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 

E

edu.ucsb.cs56.projects.games.roguelike - package edu.ucsb.cs56.projects.games.roguelike
 
Elixir - Class in edu.ucsb.cs56.projects.games.roguelike
 
Elixir() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Elixir
default consturctor for Elixir its default value is 1; with icon S
Elixir(boolean) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Elixir
this is an 1 arg consrtuctor that will set whether the item has been used or not
emptySpace(int, int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
writes an empty space at the given position

F

fillEmptySpace() - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
 

G

gameMusic - Static variable in class edu.ucsb.cs56.projects.games.roguelike.Sound
 
GamePiece - Interface in edu.ucsb.cs56.projects.games.roguelike
This class represents the various pieces in game it could be a monster, player, or nothing
GamePieceTest - Class in edu.ucsb.cs56.projects.games.roguelike
test class for my super class
GamePieceTest() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
 
getAttack() - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
 
getAttack() - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
 
getBackgroundColors() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getCharHeight() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getChars() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getCharWidth() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getDefaultBackgroundColor() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getDefaultForegroundColor() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getDirection(int[]) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
chooses what direction the monster moves in
getEffect() - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
gets the item's effect value
getFloor() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
getForegroundColors() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getGameOver() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
getter for boolean gameOver
getGridHeight() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getGridWidth() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getHitPoints() - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
 
getHitPoints() - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
 
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Bat
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Beef
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Elixir
This is the getter to figure out what piece icon it is.
getIcon() - Method in interface edu.ucsb.cs56.projects.games.roguelike.GamePiece
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Golem
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.HealthPotion
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Pirate
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Poison
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Snake
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Troll
This is the getter to figure out what piece icon it is.
getIcon() - Method in class edu.ucsb.cs56.projects.games.roguelike.Zombie
This is the getter to figure out what piece icon it is.
getInGame() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getItem(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
getLevel() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
getMaxNumOfMonsters() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
getMonsters() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
getObject(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
getOldBackgroundColors() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getOldChars() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getOldForegroundColors() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getPlayer() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
getPlayerPosition() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
getPlayerPosition() - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
 
getPointValue() - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
get the point value of the Monster
getScore() - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
 
getSpeed() - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
 
getTypeOfPiece() - Method in interface edu.ucsb.cs56.projects.games.roguelike.GamePiece
This is the getter to figure out what piece it is.
getTypeOfPiece() - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
this tells what kind of piece it is
getTypeOfPiece() - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
this gets the type of piece of the monster
getTypeOfPiece() - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
this gets the type of piece of the object
getUse() - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
this gets whether or not the item has been used
getXcoord() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
getYcoord() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
Golem - Class in edu.ucsb.cs56.projects.games.roguelike
This is a monster called a golem that is very healthy with a ton of attack.
Golem() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Golem
creates a Golem with 25 hitPoints and 5 attack with no random movement
Golem(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Golem
creates a Golem with 25 HP and 5 attack
Golem(int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Golem
creates a Golem with hit points, attack, and random movement
Golem(int, int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Golem
creates a Golem to the parameters given to it
goToLosingScreen() - Static method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
 
gray - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
green - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
groundColor - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
GUI - Class in edu.ucsb.cs56.projects.games.roguelike
GUI - used to make the main menu interface
GUI() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.GUI
This GUI class constructor makes the frame and the buttons

H

HealthPotion - Class in edu.ucsb.cs56.projects.games.roguelike
 
HealthPotion() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.HealthPotion
this is the default constructor for the health potion.
HealthPotion(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.HealthPotion
this is an 1 arg consrtuctor that will set how much the potion will heal
HealthPotion(boolean) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.HealthPotion
this is an 1 arg consrtuctor that will set whether the item has been used or not

I

inBounds(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
isActive() - Method in class edu.ucsb.cs56.projects.games.roguelike.Sound
 
Item - Class in edu.ucsb.cs56.projects.games.roguelike
An Item class to represent Items in the Dungeon.
Item() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Item
creates a default item with effect value of 10 and has not been used.
Item(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Item
creates an item with an effect value of the user's choice and has not been used and is an item game piece with icon I
Item(boolean) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Item
creates an item with the default effect value of 10 and the computer/player decides on whether it has been used and is an item game piece with icon I
ItemTest - Class in edu.ucsb.cs56.projects.games.roguelike
test class for my Item class
ItemTest() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.ItemTest
 

K

keyPressed(KeyEvent) - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Method mandated by KeyListener interface.
keyReleased(KeyEvent) - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Method required by the KeyListener interface.
keyTyped(KeyEvent) - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Method required by the KeyListener interface.

L

LogicEngine - Class in edu.ucsb.cs56.projects.games.roguelike
LogicEngine takes care of game states
LogicEngine() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
creates the logic engine which takes care of game state, intialize with a floor that is 80 by 24
LogicEngine(int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
creates the logic engine which takes care of game state
LogicEngineTest - Class in edu.ucsb.cs56.projects.games.roguelike
The test class LogicEngineTest, to test the LogicEngine class
LogicEngineTest() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
 
logicHandler - Variable in class edu.ucsb.cs56.projects.games.roguelike.RogueController
 
loop() - Method in class edu.ucsb.cs56.projects.games.roguelike.Sound
 

M

magenta - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
main(String[]) - Static method in class edu.ucsb.cs56.projects.games.roguelike.GUI
 
main(String[]) - Static method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
 
menuMusic - Static variable in class edu.ucsb.cs56.projects.games.roguelike.Sound
 
Monster - Class in edu.ucsb.cs56.projects.games.roguelike
A Monster class to represents monster in the game
Monster() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Monster
creates a monster with 20 hitPoints and 10 attack and no random movement
Monster(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Monster
creates a player with 20 hitPoints and 10 attack
Monster(int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Monster
creates a player with 20 hitPoints and 10 attack
Monster(int, int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Monster
creates a monster with the makers preference of status
monsterAttack() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
display the you were hit flag
monsterIsDead(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
check if the monster at position x,y has 0 or less hp there is a chance of the monster dropping an item when it dies
movable(int, int, int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
x and y are the position thats being tested xOrig and yOrig are the position of the object now
move(int, int, int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
move GamePiece from (xOrig,yOrig) to (x,y) x and y are the position thats being tested xOrig and yOrig are the position of the object now
moveHero() - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Handles movement of player by checking if it can move there first through the logic engine if it can move, invoke the canvas to animate it if it can't, it checks if its because of out of bounds or a monster if its a monster the player will attack it and its its dead the canvas will animate the removal of the monster
moveHeroAnimated(int, int, int, int, int, int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
moves the player to position xPosition,yPosition and updates its hp using write
moveMonster() - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Handles movement of all monsters by checking if it can move there first through the logic engine if it can move, invoke the canvas to animate it if it can't, it checks if its because of out of bounds or a monster or a player if its a player, the monster will attack it and if its a monster it will eat it
moveMonster(int, int, GamePiece) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
moves the monster to position xPosition,yPosition Prints the x and y coordinates of the character.

N

nextLevel() - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
display that the player has advanced to the next level

O

openGameWindow() - Method in class edu.ucsb.cs56.projects.games.roguelike.GUI
 
openHighScoresWindow() - Method in class edu.ucsb.cs56.projects.games.roguelike.GUI
 
openInstructionsWindow() - Method in class edu.ucsb.cs56.projects.games.roguelike.GUI
Opens a new window with game instructions displayed

P

paint(Graphics) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
Pirate - Class in edu.ucsb.cs56.projects.games.roguelike
This class represents a monster called a Pirate that is a medium health, medium damaged melee creature.
Pirate() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Pirate
creates a Pirate with 15 hitPoints and 4 attack with no random movement with icon P
Pirate(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Pirate
creates a pirate with 15 HP and 4 attack with icon P
Pirate(int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Pirate
creates a pirate with hit points, attack, and random movement with icon P
Pirate(int, int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Pirate
creates a Pirate to the parameters given to it
Player - Class in edu.ucsb.cs56.projects.games.roguelike
A Player class that represents the character the player uses.
Player() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Player
creates a player with 100 hitPoints, 20 attack, and 1 speed
playerIsDead() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
check if the player has 0 or less hp
Poison - Class in edu.ucsb.cs56.projects.games.roguelike
 
Poison() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Poison
this is the default constructor for the Poison.
Poison(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Poison
this is an 1 arg consrtuctor that will set how much the poison will take away
Poison(boolean) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Poison
this is an 1 arg consrtuctor that will set whether the item has been used or not

R

recordShadows(int[][]) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Covers the areas where the player has not discovered yet
red - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
resetPlayerPosition() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
after the level is completed, resets the player to the starting position
RogueController - Class in edu.ucsb.cs56.projects.games.roguelike
RogueController - Handles user input and gamestate.
RogueController() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.RogueController
No parameters.
RoguePanel - Class in edu.ucsb.cs56.projects.games.roguelike
Basic Grid of Ascii character used to represent a "floor" of the "dungeon"
RoguePanel() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Creates a grid of size 80 x 24 chars
RoguePanel(int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Creates a grid of a specified width and height

S

setAttack(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
sets the attack of the monster
setAttack(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
sets that player's attack
setBackgroundColors(Color[][]) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setButtonCharacteristics(JButton) - Method in class edu.ucsb.cs56.projects.games.roguelike.GUI
 
setCharHeight(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
sets the height of a character.
setChars(char[][]) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setCharWidth(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
sets the width of a character.
setCoords(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
sets the coordinates of where we want to draw of character
setDefaultBackgroundColor(Color) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setDefaultForegroundColor(Color) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setEffect(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
sets the item's effect value
setForegroundColors(Color[][]) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setGameOver(boolean) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
setter for boolean gameOver
setGridHeight(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
set the height of the grid.
setGridWidth(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
set the width of the grid.
setHitPoints(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
sets the hitPoints of the monster
setHitPoints(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
sets the player's hitPoints
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Bat
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Beef
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Elixir
This is the setter for the Icon it will be
setIcon(char) - Method in interface edu.ucsb.cs56.projects.games.roguelike.GamePiece
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Golem
This is the setter for the Icon it will be.
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.HealthPotion
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Pirate
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Poison
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Snake
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Troll
This is the setter for the Icon it will be
setIcon(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.Zombie
This is the setter for the Icon it will be
setInGame(boolean) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setLevel(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
setLevelBonus(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
a method that boosts stats on Monster for each level i.e.
setMaxNumOfMonsters(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
 
setMonsterPosition(int, int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
 
setOldBackgroundColors(Color[][]) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setOldChars(char[][]) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setOldForegroundColors(Color[][]) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
setPlayerPosition(int[]) - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
 
setPointValue(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
sets the pointValue of the Monster
setScore(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
sets the player's Score
setSpeed(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
sets the player's speed
setTypeOfPiece(String) - Method in interface edu.ucsb.cs56.projects.games.roguelike.GamePiece
This is the setter for the TypeOfPiece it will be
setTypeOfPiece(String) - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
this allows the computer/programmer to set what type of piece this will be
setTypeOfPiece(String) - Method in class edu.ucsb.cs56.projects.games.roguelike.Monster
this sets the type of piece of the monster
setTypeOfPiece(String) - Method in class edu.ucsb.cs56.projects.games.roguelike.Player
this sets the type of piece of the object
setUse(boolean) - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
this sets whether the item has been used or not
setXcoord(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Sets the X coordinate for where the character is draw, must be within the size or the frame
setYcoord(int) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Set the Y coordinate for where the character is to be drawn, must be within the size of the frame
Snake - Class in edu.ucsb.cs56.projects.games.roguelike
This class represents a monster called a snake that is low health, medium damaged melee creature.
Snake() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Snake
creates a snake with 5 hitPoints and 3 attack with no random movement with icon S
Snake(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Snake
creates a snake with 5 HP and 3 attack with icon S
Snake(int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Snake
creates a snake with hit points, attack, and random movement with icon S
Snake(int, int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Snake
creates a Snake to the parameters given to it
Sound - Class in edu.ucsb.cs56.projects.games.roguelike
This class stores music and methods to loop or stop those songs
Sound(String) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Sound
 
startx - Variable in class edu.ucsb.cs56.projects.games.roguelike.RogueController
 
starty - Variable in class edu.ucsb.cs56.projects.games.roguelike.RogueController
 
stop() - Method in class edu.ucsb.cs56.projects.games.roguelike.Sound
 
storeMonsters() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngine
update the monster list based on the objects in floor
SubMonsterTest - Class in edu.ucsb.cs56.projects.games.roguelike
test class for my subclasses
SubMonsterTest() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
 

T

test_1ArgEffectBeefConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the 1 Arg constructor for Beef for the effect should be 15 and used is false and it is an item and has icon !
test_1ArgEffectHPPotConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the 1 Arg constructor for HealthPotion an int effect the effect should be 15 and used is false and it is an item and has icon H
test_1ArgEffectItemConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the 1 Arg constructor for an int effect the effect should be 15 and used is false and it is an item and has icon I
test_1ArgEffectPoisonConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the 1 Arg constructor for Poison for the effect should be 15 and used is false and it is an item and has icon !
test_1ArgUseBeefConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the 1 Arg constructor for beef for an int the effect should be 10 and used is true and it is an item and has icon !
test_1ArgUseHPPotConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the 1 Arg constructor for Health Potion for an int the effect should be 10 and used is true and it is an item and has icon H
test_1ArgUseItemConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the 1 Arg constructor for an int the effect should be 10 and used is true and it is an item and has icon I
test_1ArgUsePoisonConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the 1 Arg constructor for Poison for an int the effect should be 10 and used is true and it is an item and has icon !
test_3ArgConstructorBat() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
tests the Bat 3arg Constructor to see if it is still a Monster Type with icon B
test_3ArgConstructorBat() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a bat with 20 hp 24 att and 10points
test_3ArgConstructorGolem() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
tests the Golem 3arg Constructor to see if it is still a Monster Type with icon G
test_3ArgConstructorGolem() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Golem with 50 hp 40 att and 20points
test_3ArgConstructorMonster() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
tests the monsters 3arg Constructor to see if it is still a Monster Type with icon M
test_3ArgConstructorPirate() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
test the Pirate 3arg Constructor to see if it is still a Monster Type with icon P
test_3ArgConstructorPirate() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for Pirate with 25 hp 10 att and 25 points
test_3ArgConstructorSnake() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
test the Snake 3arg Constructor to see if it is still a Monster Type with icon S
test_3ArgConstructorSnake() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for Snake with 10 hp 20 att and 15 points
test_3ArgConstructorTroll() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
tests the Troll 3arg Constructor to see if it is still a Monster Type
test_3ArgConstructorTroll() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Troll with 20 hp 25 att and 10points
test_3ArgConstructorZombie() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
test the Zombie 3arg Constructor to see if it is still a Monster Type with icon Z
test_3ArgConstructorZombie() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for Zombie with 25 hp 10 att and 10 points
test_4argConstructorBat() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a bat with 20 hp 30 att and 40points
test_4argConstructorBatType() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
tests the Bat 4arg Constructor to see if it is still a Monster Type with icon B
test_4argConstructorGolem() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Golem with 50 hp 40 att and 20points
test_4argConstructorGolemType() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
tests the Golem 4arg Constructor to see if it is still a Monster Type with icon G
test_4argConstructorMonsterType() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
tests the Monster 4arg Constructor to see if it is still a Monster Type with icon M
test_4argConstructorPirate() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for Pirate with 25 hp 25 att and 30 points
test_4argConstructorPirateType() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
test the Pirate 4arg Constructor to see if it is still a Monster Type with icon P
test_4argConstructorSnake() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for Snake with 10 hp 20 att and 10 points
test_4argConstructorSnakeType() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
test the Snake 4arg Constructor to see if it is still a Monster Type with icon S
test_4argConstructorTroll() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Troll with 30 hp 20 att and 40points
test_4argConstructorTrollType() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
tests the Troll 4arg Constructor to see if it is still a Monster Type with icon T
test_4argConstructorZombie() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for Zombie with 25 hp 10 att and 20 points
test_4argConstructorZombieType() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
test the Zombie 4arg Constructor to see if it is still a Monster Type with icon Z
test_BatSetter() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Bat with 1hp 2 att and 3points
test_BeefOnPlayer() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests how a Beef affects a player
test_defaulBatType_Constructor() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
this test that the Bat constructor works and is a Monster type with icon B
test_defaultBeefConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the default constructor.
test_defaultBeefConstructorSettersandGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the default constructor with setters and getters the effect should be 30 and used is true and it is a gameitem
test_defaultConstructor_and_GettersBat() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a bat with 10 hp 10 att and 10points
test_defaultConstructor_and_GettersGolem() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Golem with 50 hp 20 att and 20points
test_defaultConstructor_and_GettersPirate() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Pirate with 20 hp 15 att and 20 points
test_defaultConstructor_and_GettersSnake() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Snake with 5 hp 15 att and 10 points
test_defaultConstructor_and_GettersTroll() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Troll with 15 hp 10 att and 15points
test_defaultConstructor_and_GettersZombie() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Zombie with 20 hp 5 att and 15 points
test_defaultGolemType_Constructor() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
this test that the Golem constructor works and is a Monster type with icon G
test_defaultHPPotConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the default constructor.
test_defaultHPPotConstructorSettersandGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the default constructor with setters and getters the effect should be 30 and used is true and it is a gameitem
test_defaultItemConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the default constructor.
test_defaultItemConstructorSettersandGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the default constructor.
test_defaultMonsterType_Constructor() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
this tests that the monster constructor works and the type should be monster with icon M
test_defaultPirateType_Constructor() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
this test that the Pirate constructor works and is a Monster type with icon P
test_defaultPlayerType_Constructor() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
this tests that the player constructor works and the type should be player with icon @
test_defaultPoisonConstructor_andGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the default constructor.
test_defaultPoisonConstructorSettersandGetters() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests the default constructor with setters and getters the effect should be 30 and used is true and it is a gameitem
test_defaultSnakeType_Constructor() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
this test that the Snake constructor works and is a Monster type with icon S
test_defaultTrollType_Constructor() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
this test that the Troll constructor works and is a Monster type with icon T
test_defaultZombieType_Constructor() - Method in class edu.ucsb.cs56.projects.games.roguelike.GamePieceTest
this test that the Zombie constructor works and is a Monster type with icon Z
test_GolemSetter() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Golem with 1 hp 2 att and 3points
test_HealthPotionOnPlayer() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests how a HealthPotion affects a player
test_itemOnPlayer() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests how an Item affects a player
test_monster4arg() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Monster with 10 hp 20 att and 30points
test_MonsterSetter() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a monster with 1 hp 2 att and 3points
test_PirateSetter() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Pirate with 22 hp 19 att and 16 points
test_PoisonOnPlayer() - Method in class edu.ucsb.cs56.projects.games.roguelike.ItemTest
this tests how a Poison affects a player
test_SnakeSetter() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Snake with 3 hp 7 att and 12 points
test_TrollSetter() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Troll with 1 hp 2 att and 3points
test_ZombieSetter() - Method in class edu.ucsb.cs56.projects.games.roguelike.SubMonsterTest
tests for a Zombie with 16 hp 4 att and 11 points
testMonsterStatus() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test for a monster that is dead
testMonsterStatus2() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test for a monster that isnt dead
testMovable() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test to see if a player can move to a spot with a monster
testMovable2() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test to see if a monster can move to a spot with a player
testMovable3() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test to see if a monster/player can move to a spot that is empty
testMovable4() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test to see if a monster/player can move to a spot that is out of bound
testMovable5() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test to see if a monster/player can move to a spot that is out of bound
testMovable6() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test to see if a monster/player can move to a spot that is out of bound
testMovable7() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test to see if a monster/player can move to a spot that is out of bound
testPlayerStatus() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test for a dead player
testPlayerStatus2() - Method in class edu.ucsb.cs56.projects.games.roguelike.LogicEngineTest
test for a player that isnt dead
trackDiscovery() - Method in class edu.ucsb.cs56.projects.games.roguelike.RogueController
Records the areas where the player has revealed
Troll - Class in edu.ucsb.cs56.projects.games.roguelike
This class represents a monster called a troll that is a medium damaged melee creature.
Troll() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Troll
creates a troll with 10 hitPoints and 3 attack with no random movement with icon T
Troll(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Troll
creates a troll with 10 HP and 3 attack with icon T
Troll(int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Troll
creates a troll with hit points, attack, and random movement with icon T
Troll(int, int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Troll
creates a Troll to the parameters given to it

U

update(Graphics) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
UseEffect(Player) - Method in class edu.ucsb.cs56.projects.games.roguelike.Beef
this method uses the effect value in someway.
UseEffect(Player) - Method in class edu.ucsb.cs56.projects.games.roguelike.Elixir
this method uses the effect value in someway.
UseEffect(Player) - Method in class edu.ucsb.cs56.projects.games.roguelike.HealthPotion
this method uses the effect value in someway.
UseEffect(Player) - Method in class edu.ucsb.cs56.projects.games.roguelike.Item
this method uses the effect value in someway.
UseEffect(Player) - Method in class edu.ucsb.cs56.projects.games.roguelike.Poison
this method uses the effect value in someway.

W

white - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 
write(char) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Write a character to the cursor's position.
write(String, int, int, Color, Color) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Write a string to the specified position with the specified foreground and background colors.
write(char, int, int, Color, Color) - Method in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
Write a character to the specified position with the specified foreground and background colors.

Y

yellow - Static variable in class edu.ucsb.cs56.projects.games.roguelike.RoguePanel
 

Z

Zombie - Class in edu.ucsb.cs56.projects.games.roguelike
This class represents a monster called a zombie that is a medium health, low damaged melee creature.
Zombie() - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Zombie
creates a zombie with 15 hitPoints and 2 attack with no random movement with icon Z
Zombie(int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Zombie
creates a Zombie with 15 HP and 2 attack with icon Z
Zombie(int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Zombie
creates a zombie with hit points, attack, and random movement with icon Z
Zombie(int, int, int, int) - Constructor for class edu.ucsb.cs56.projects.games.roguelike.Zombie
creates a Zombie to the parameters given to it
A B C D E F G H I K L M N O P R S T U W Y Z 
Skip navigation links