Uses of Class
edu.ou.pacman.util.Location2D

Packages that use Location2D
edu.ou.pacman   
edu.ou.pacman.board   
edu.ou.pacman.character   
edu.ou.pacman.client   
edu.ou.pacman.template   
edu.ou.pacman.util   
 

Uses of Location2D in edu.ou.pacman
 

Methods in edu.ou.pacman that return Location2D
 Location2D ImmutablePacmanState.getCharacterLocation(CharacterType character)
          Get the location of the given character for the current world state.
 Location2D ImmutablePacmanState.goalState()
          Return the location that represents the goal for the map.
 Location2D ImmutablePacmanState.simulatePacmanMoveFromLocation(Location2D startingLocation, Direction direction)
          Pretends to move pacman from the specified location in the specified direction.
 

Methods in edu.ou.pacman that return types with arguments of type Location2D
 java.util.ArrayList<Location2D> ImmutablePacmanState.bonusItemLocations()
          Get the location of all bonus items still available.
 java.util.ArrayList<Location2D> ImmutablePacmanState.ghostLocations()
          Return the locations of the ghosts in the world.
 java.util.ArrayList<Location2D> ImmutablePacmanState.pelletLocations()
          Get the locations of all available pellets.
 java.util.ArrayList<Location2D> ImmutablePacmanState.powerPelletLocations()
          Get the locations of all available power pellets.
 

Methods in edu.ou.pacman with parameters of type Location2D
 boolean[] ImmutablePacmanState.canMoveFromLocation(Location2D location)
          Method to determine what directions can be taken from a given location.
 Location2D ImmutablePacmanState.simulatePacmanMoveFromLocation(Location2D startingLocation, Direction direction)
          Pretends to move pacman from the specified location in the specified direction.
 

Uses of Location2D in edu.ou.pacman.board
 

Methods in edu.ou.pacman.board that return Location2D
 Location2D GameBoard.characterLocation(CharacterType character)
          Returns the location of the given character.
 Location2D GameBoard.goalState()
          Returns the goal state of this game board.
 Location2D BoardLocation.location()
           
 Location2D GameBoard.simulateMove(Location2D startingLocation, Direction direction)
          Simulate moving from one location to another (but don't actually update the game board)
 

Methods in edu.ou.pacman.board that return types with arguments of type Location2D
 java.util.ArrayList<Location2D> GameBoard.bonusItemLocations()
          Return a list of all available bonus items still on the board.
 java.util.ArrayList<Location2D> GameBoard.ghostLocations()
          Returns a list of all the locations a ghost currently occupies.
 java.util.ArrayList<Location2D> GameBoard.pelletLocations()
          Return a list of all available pellets still on the board.
 java.util.ArrayList<Location2D> GameBoard.powerPelletLocations()
          Return a list of all available power pellets still on the board.
 

Methods in edu.ou.pacman.board with parameters of type Location2D
 Location2D GameBoard.simulateMove(Location2D startingLocation, Direction direction)
          Simulate moving from one location to another (but don't actually update the game board)
 

Constructors in edu.ou.pacman.board with parameters of type Location2D
BoardLocation(Location2D location, BonusType bonusItem, boolean[] blockedDirections, boolean hasPellet, boolean hasUpgrade)
           
 

Uses of Location2D in edu.ou.pacman.character
 

Methods in edu.ou.pacman.character that return Location2D
 Location2D PacmanCharacter.location()
          Current location of the character.
 Location2D ImmutablePacmanCharacter.location()
          Current location of the character.
 

Methods in edu.ou.pacman.character with parameters of type Location2D
 void PacmanCharacter.move(Location2D location)
          Change the location of the character.
 

Constructors in edu.ou.pacman.character with parameters of type Location2D
ImmutablePacmanCharacter(CharacterType characterType, Location2D location)
           
PacmanCharacter(CharacterType characterType, Location2D location)
           
 

Uses of Location2D in edu.ou.pacman.client
 

Methods in edu.ou.pacman.client with parameters of type Location2D
 Direction DepthFirstClient.DFS(javax.swing.tree.DefaultMutableTreeNode tree, ImmutablePacmanState world, ImmutablePacmanCharacter client, Location2D goalLocation)
          Method to recursively search a node following Depth First Search protocol.
 

Uses of Location2D in edu.ou.pacman.template
 

Methods in edu.ou.pacman.template that return Location2D
 Location2D TemplateUploader.goalState()
           
 

Methods in edu.ou.pacman.template that return types with arguments of type Location2D
 java.util.ArrayList<Location2D> TemplateUploader.blueLocations()
           
 java.util.ArrayList<Location2D> TemplateUploader.orangeLocations()
           
 java.util.ArrayList<Location2D> TemplateUploader.pacmanLocations()
           
 java.util.ArrayList<Location2D> TemplateUploader.pinkLocations()
           
 java.util.ArrayList<Location2D> TemplateUploader.redLocations()
           
 

Uses of Location2D in edu.ou.pacman.util
 

Methods in edu.ou.pacman.util with parameters of type Location2D
 Direction[] Location2D.directionsToOther(Location2D other)
          Return the directions from one location to another.
 Direction Location2D.directionToOther(Location2D other)
          Determines the direction needed to go towards another location.
 double Location2D.distanceFrom(Location2D other)
          Returns the distance from one location to another.
 

Constructors in edu.ou.pacman.util with parameters of type Location2D
Location2D(Location2D other)