Uses of Class
BoardPoint

Uses of BoardPoint in <Unnamed>
 

Methods in <Unnamed> that return BoardPoint
static BoardPoint BoardPoint.fromCoordinates(int x, int y)
          Factory method that returns a reference to a newly-allocated BoardPoint that corresponds to given column and row numbers.
static BoardPoint BoardPoint.fromString(java.lang.String s)
          Factory method that returns a reference to a newly-allocated BoardPoint that corresponds to a given column and row designation.
 BoardPoint[] AircraftCarrier.getExtent()
           
 BoardPoint[] Cruiser.getExtent()
           
 BoardPoint[] Barge.getExtent()
           
 BoardPoint[] Ship.getExtent()
           Returns a newly-allocated array of BoardPoints, one for each BoardPoint this Ship occupies.
 BoardPoint[] Destroyer.getExtent()
           
 BoardPoint Game.getMove(int i)
          Use getMove when saving games.
 BoardPoint SmarterCPUPlayer.getNextMove()
           
 BoardPoint Player.getNextMove()
           Gets the next move this Player wants to execute.
 BoardPoint HumanPlayer.getNextMove()
          This method will prompt the user until she enters a string corresponding to a BoardPoint; after she does that, it will return a BoardPoint for that String.
 BoardPoint NaiveCPUPlayer.getNextMove()
           
 BoardPoint AircraftCarrier.getOrigin()
           
 BoardPoint Cruiser.getOrigin()
           
 BoardPoint Barge.getOrigin()
           
 BoardPoint Ship.getOrigin()
          Returns the origin point for this Ship.
 BoardPoint Destroyer.getOrigin()
           
 

Methods in <Unnamed> with parameters of type BoardPoint
 char AircraftCarrier.getCharForPoint(BoardPoint strike)
           
 char Cruiser.getCharForPoint(BoardPoint strike)
           
 char Barge.getCharForPoint(BoardPoint strike)
           
 char Ship.getCharForPoint(BoardPoint strike)
           Returns the character to display for a given BoardPoint.
 char Destroyer.getCharForPoint(BoardPoint strike)
           
 boolean AircraftCarrier.occupies(BoardPoint strike)
           
 boolean Cruiser.occupies(BoardPoint strike)
           
 boolean Barge.occupies(BoardPoint strike)
           
 boolean Ship.occupies(BoardPoint strike)
           Returns true if this Ship occupies the given space, false otherwise.
 boolean Destroyer.occupies(BoardPoint strike)
           
 void AircraftCarrier.registerStrike(BoardPoint strike)
           
 void Cruiser.registerStrike(BoardPoint strike)
           
 boolean Grid.registerStrike(BoardPoint strike)
          Registers a strike on this grid.
 void Barge.registerStrike(BoardPoint strike)
           
 void Ship.registerStrike(BoardPoint strike)
           Registers the result of a strike at the given point; records the strike and possibly destroys the ship.
 void Destroyer.registerStrike(BoardPoint strike)
           
 void Game.setMove(int i, BoardPoint move)
          Use setMove when loading games, to set up the move state for the ith move in this Game.
 void AircraftCarrier.setOrigin(BoardPoint origin)
           
 void Cruiser.setOrigin(BoardPoint origin)
           
 void Barge.setOrigin(BoardPoint origin)
           
 void Ship.setOrigin(BoardPoint origin)
           Sets the origin of this ship as a BoardPoint.
 void Destroyer.setOrigin(BoardPoint origin)