- 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
- 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.
- 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
-
- 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