A B C D E F G H I J L M N O P Q R S T U V W X Y

A

accessCountsForDay(int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses for the specified day of the week.
accessCountsForDayHour(int, int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses for the specified time period.
accessCountsForHour(int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses during the specified hour of the day.
accessTime() - Method in class cs1705.weblog.LogEntry
Get the access time for the HTTP request contained in this log line.
accumulateLogData(BufferedReader) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given stream to the current access pattern data.
accumulateLogDataFromFile(String) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given file to the current access pattern data.
accumulateLogDataFromURL(String) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given URL to the current access pattern data.
addCommand(String, Command) - Method in class cs1705.adventure.CommandWords
Add (or replace) a command word.
addNewPiece() - Method in class cs1705.tetris.JTetris
Tries to add a new random at the top of the board.
anyBeepersInBeeperBag() - Method in class cs1705.VPIRobot
Check whether the robot has any beepers in its bag.
apply(Move) - Method in class cs1705.tetris.Board
Attempts to add apply the given move to the board.
assertAt(int, int) - Method in class cs1705.TestableRobot
Fail if this robot is not at the given intersection.
assertBeepersAt(int, int) - Method in class cs1705.TestableWorld
Fail if there are no beepers at the given intersection.
assertBeepersAt(int, int, int) - Method in class cs1705.TestableWorld
Fail if the number of beepers at the given intersection is different than the specified count.
assertBeepersInBeeperBag() - Method in class cs1705.TestableRobot
Fail if this robot's beeper bag is empty.
assertBeepersInBeeperBag(int) - Method in class cs1705.TestableRobot
Fail if this robot's beeper bag does not contain the specified number of beepers.
assertBeepersInWorld() - Method in class cs1705.TestableWorld
Fail if there are no beepers anywhere in this world.
assertBeepersInWorld(int) - Method in class cs1705.TestableWorld
Fail if the total number of beepers in this world, regardless of their location, is different than the specified count.
assertEWWallAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is no east/west wall at the given location.
assertFacingEast() - Method in class cs1705.TestableRobot
Fail if this robot is not facing East.
assertFacingNorth() - Method in class cs1705.TestableRobot
Fail if this robot is not facing North.
assertFacingSouth() - Method in class cs1705.TestableRobot
Fail if this robot is not facing South.
assertFacingWest() - Method in class cs1705.TestableRobot
Fail if this robot is not facing West.
assertFrontIsBlocked() - Method in class cs1705.TestableRobot
Fail if there is no wall in front of this robot.
assertFrontIsClear() - Method in class cs1705.TestableRobot
Fail if there is a wall in front of this robot.
assertHasNeighbor() - Method in class cs1705.TestableRobot
Fail if this robot has no neighbors, that is, if no other robots are located at the same intersection.
assertHasNoNeighbor() - Method in class cs1705.TestableRobot
Fail if the robot has any neighbors, that is, if there are any other robots at the same intersection.
assertNSWallAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is no north/south wall at the given location.
assertNextToABeeper() - Method in class cs1705.TestableRobot
Fail if this robot is on a corner with no beepers.
assertNoBeepersAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is at least one beeper at the given intersection.
assertNoBeepersInBeeperBag() - Method in class cs1705.TestableRobot
Fail if this robot has any beepers in its beeper bag.
assertNoBeepersInWorld() - Method in class cs1705.TestableWorld
Fail if there are any beepers anywhere in this world.
assertNoEWWallAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is an east/west wall at the given intersection.
assertNoNSWallAt(int, int) - Method in class cs1705.TestableWorld
Fail if there is a north/south wall at the given location.
assertNoRobotsInWorld() - Method in class cs1705.TestableWorld
Fail if there are any robots anywhere in this world.
assertNotAt(int, int) - Method in class cs1705.TestableRobot
Fail if this robot is at the given intersection.
assertNotFacingEast() - Method in class cs1705.TestableRobot
Fail if this robot is facing East.
assertNotFacingNorth() - Method in class cs1705.TestableRobot
Fail if this robot is facing North.
assertNotFacingSouth() - Method in class cs1705.TestableRobot
Fail if this robot is facing South.
assertNotFacingWest() - Method in class cs1705.TestableRobot
Fail if this robot is facing West.
assertNotNextToABeeper() - Method in class cs1705.TestableRobot
Fail if this robot is on a corner with one or more beepers.
assertNotOnAvenue(int) - Method in class cs1705.TestableRobot
Fail if this robot is on the given avenue.
assertNotOnStreet(int) - Method in class cs1705.TestableRobot
Fail if this robot is on a given street.
assertNotRunning() - Method in class cs1705.TestableRobot
Fail if this robot not has turned off.
assertOnAvenue(int) - Method in class cs1705.TestableRobot
Fail if this robot is not on a given avenue.
assertOnStreet(int) - Method in class cs1705.TestableRobot
Fail if this robot is not on a given street.
assertRobotsInWorld() - Method in class cs1705.TestableWorld
Fail if there are no robots anywhere in this world.
assertRobotsInWorld(int) - Method in class cs1705.TestableWorld
Fail if the total number of robots in this world, regardless of their location, is different than the specified count.
assertRunning() - Method in class cs1705.TestableRobot
Fail if this robot has turned off or experienced an error shutoff.

B

Board - class cs1705.tetris.Board.
Represents a Tetris board -- essentially a 2-d grid of booleans.
Board(int, int) - Constructor for class cs1705.tetris.Board
Creates an empty board of the given width and height measured in blocks.
Board(int, int, String[]) - Constructor for class cs1705.tetris.Board
Creates a board of the given width and height measured in blocks, and then populates it with the blocks indicated by the given string array.
Brain - interface cs1705.tetris.Brain.
This interface defines the characteristics needed for a class to be considered a Tetris "Brain" (an artificial tetris player).
Browser - class cs1705.Browser.
This class provides a simple interface to your web browser.
bestMove(Board, Piece, int, Move) - Method in interface cs1705.tetris.Brain
Given a piece and a board, generates a move object that represents the best play for that piece, or returns null if no play is possible.
bestMove(Board, Piece, int, Move) - Method in class cs1705.tetris.LameBrain
 
browser() - Method in class cs1705.weblog.LogEntry
Get the identification information for the browser making the request.

C

Command - class cs1705.adventure.Command.
This class is an abstract superclass for all command classes in the game.
Command() - Constructor for class cs1705.adventure.Command
Create a command object.
CommandWords - class cs1705.adventure.CommandWords.
This class holds a collection of all command words known to the game.
CommandWords() - Constructor for class cs1705.adventure.CommandWords
Constructor - initialise the command words.
clearRows() - Method in class cs1705.tetris.Board
Deletes rows that are filled all the way across, moving things above down.
commandWords() - Method in class cs1705.adventure.Parser
Access the set of valid command words.
commit() - Method in class cs1705.tetris.Board
Puts the board in the committed state.
computeNewPosition(int) - Method in class cs1705.tetris.JTetris
Figures a new position for the current piece based on the given verb (LEFT, RIGHT, ...).
countBeepersInPile() - Method in class cs1705.VPIRobot
Returns the number of beepers in the beeper pile (if any ) at the intersection where Karel is located.
createBufferedReader(File) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read from the given file.
createBufferedReader(String) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read from the file referred to by the given name.
createBufferedReader(URL) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read from a URL over the net.
createBufferedReaderForString(String) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read directly from a given text string.
createBufferedReaderForURL(String) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read from a URL given as a text string.
createCommands() - Method in class cs1705.adventure.Game
Create all the commands this game knows about.
createConsoleWriter() - Static method in class cs1705.IOHelper
Creates and returns an instance of PrintWriter that can be used to write to the console.
createControlPanel() - Method in class cs1705.tetris.JBrainTetris
Creates the panel of UI controls.
createControlPanel() - Method in class cs1705.tetris.JTetris
Creates the panel of UI controls.
createKeyboardReader() - Static method in class cs1705.IOHelper
Creates and returns an instance of BufferedReader that can be used to read from the keyboard.
createPrintWriter(File, boolean) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the given file.
createPrintWriter(String, boolean) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the file referred to by the given name.
createPrintWriter(String) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the file referred to by the given name.
createRooms() - Method in class cs1705.adventure.Game
Create all the rooms and link their exits together.
cs1705 - package cs1705
This package provides all of the course-specific classes written especially for CS 1705: Introduction to Object-Oriented Development I.
cs1705.adventure - package cs1705.adventure
This package provides all of the course-specific classes based on the "World of Zuul" adventure game example from Chapter 7 of Objects First with Java by Michael Kolling and David Barnes.
cs1705.tetris - package cs1705.tetris
This package provides all of the course-specific classes needed to write Tetris brain programs (computerized tetris players).
cs1705.weblog - package cs1705.weblog
This package provides all of the course-specific classes based on the web log analyzer example from Chapter 4 of Objects First with Java by Michael Kolling and David Barnes.

D

DELAY - Variable in class cs1705.tetris.JTetris
 
DOWN - Static variable in class cs1705.tetris.JTetris
 
DROP - Static variable in class cs1705.tetris.JTetris
 
Directions - interface cs1705.Directions.
This interface is a bare wrapper for Bergin's Directions interface.
delay() - Static method in class cs1705.World
Return the current delay setting.

E

equals(Object) - Method in class cs1705.tetris.Board
Returns true if two boards are the same, meaning they have blocks in exactly the same locations.
equals(Object) - Method in class cs1705.tetris.Move
Check whether two moves are the same.
equals(Object) - Method in class cs1705.tetris.Piece
Returns true if two pieces are the same, that is, if their bodies contain the same points.
execute(Player) - Method in class cs1705.adventure.Command
Execute this command.
execute(Player) - Method in class cs1705.adventure.GoCommand
Try to go to one direction.
execute(Player) - Method in class cs1705.adventure.HelpCommand
Print out some help information.
execute(Player) - Method in class cs1705.adventure.QuitCommand
"Quit" was entered.

F

facingEast() - Method in class cs1705.VPIRobot
Checks whether Karel is currently facing east.
facingNorth() - Method in class cs1705.VPIRobot
Checks whether Karel is currently facing north.
facingSouth() - Method in class cs1705.VPIRobot
Checks whether Karel is currently facing south.
facingWest() - Method in class cs1705.VPIRobot
Checks whether Karel is currently facing west.
frontIsClear() - Method in class cs1705.VPIRobot
Check to see if Karel is currently blocked by some obstacle directly in front.

G

Game - class cs1705.adventure.Game.
This class is the main class for a "World of Zuul"-style adventure game application.
Game() - Constructor for class cs1705.adventure.Game
Create the game and initialise its internal map.
Game(Player, Parser) - Constructor for class cs1705.adventure.Game
Create the game and initialise its internal map.
GoCommand - class cs1705.adventure.GoCommand.
Implementation of the 'go' user command for adventure games.
GoCommand() - Constructor for class cs1705.adventure.GoCommand
Constructor for objects of class GoCommand
generateMaze() - Static method in class cs1705.MazeGenerator
Generates a random maze of the default size (12x12).
generateMaze(int, int) - Static method in class cs1705.MazeGenerator
Generates a random maze of the specified size.
get(String) - Method in class cs1705.adventure.CommandWords
Given a command word, find and return the matching command object.
getBlocksInRow(int) - Method in class cs1705.tetris.Board
Returns the number of filled blocks in the given row.
getBody() - Method in class cs1705.tetris.Piece
Returns a pointer to the piece's body.
getColumnHeight(int) - Method in class cs1705.tetris.Board
Returns the height of the given column, which is the y value of the highest block + 1.
getCommand() - Method in class cs1705.adventure.Parser
 
getCurrentRoom() - Method in class cs1705.adventure.Player
Return the current room for this player.
getCurrentWorkingDirectory() - Static method in class cs1705.IOHelper
Returns current working directory.
getExit(String) - Method in class cs1705.adventure.Room
Return the room that is reached if we go from this room in direction "direction".
getFile(String) - Static method in class cs1705.IOHelper
Creates new File instance from a relative or an absolute pathname.
getHeight() - Method in class cs1705.tetris.Board
Returns the height of the board in blocks.
getHeight() - Method in class cs1705.tetris.Piece
Returns the height of the piece measured in blocks.
getLargestHeight() - Method in class cs1705.tetris.Board
Returns the max column height present in the board.
getLongDescription() - Method in class cs1705.adventure.Room
Return a long description of this room, including a list of available exits.
getPiece(int, int) - Static method in class cs1705.tetris.Piece
Returns the requested piece style, rotated from its starting position by the specified number of counter-clockwise rotations.
getPieces() - Static method in class cs1705.tetris.Piece
Returns an array containing the first rotation of each of the 7 standard tetris pieces.
getSecondWord() - Method in class cs1705.adventure.Command
Return the second word of this command.
getShortDescription() - Method in class cs1705.adventure.Room
Return the description of the room (the one that was defined in the constructor).
getSkirt() - Method in class cs1705.tetris.Piece
Returns a pointer to the piece's skirt.
getWidth() - Method in class cs1705.tetris.Board
Returns the width of the board in blocks.
getWidth() - Method in class cs1705.tetris.Piece
Returns the width of the piece measured in blocks.
getWorldAsObject() - Method in class cs1705.TestableRobot
Returns the singleton instance of the World in which this robot lives.
getWorldAsObject() - Static method in class cs1705.World
Returns the singleton instance of this class.
getWorldDescription() - Static method in class cs1705.World
Returns the configuration of the current world as a string.

H

HEIGHT - Static variable in class cs1705.tetris.JTetris
 
HelpCommand - class cs1705.adventure.HelpCommand.
Implementation of the 'help' user command for adventure games.
HelpCommand(CommandWords) - Constructor for class cs1705.adventure.HelpCommand
Constructor for objects of class HelpCommand
hasBlockAt(int, int) - Method in class cs1705.tetris.Board
Returns true if the given block is filled in the board.
hasMoreEntries() - Method in class cs1705.weblog.LogReader
Does the reader have more data to supply?
hasSecondWord() - Method in class cs1705.adventure.Command
Check whether a second word was entered for this command.

I

IOHelper - class cs1705.IOHelper.
This class provides several static methods that streamline the use of basic I/O operations in Java.

J

JBrainTetris - class cs1705.tetris.JBrainTetris.
JTetris presents a Tetris game in a window, including a brain control panel.
JBrainTetris(int, int) - Constructor for class cs1705.tetris.JBrainTetris
 
JTetris - class cs1705.tetris.JTetris.
JTetris presents a Tetris game in a window.

L

LEFT - Static variable in class cs1705.tetris.JTetris
 
LEFT_DOG - Static variable in class cs1705.tetris.Piece
 
LEFT_L - Static variable in class cs1705.tetris.Piece
 
LameBrain - class cs1705.tetris.LameBrain.
 
LameBrain() - Constructor for class cs1705.tetris.LameBrain
 
LogAnalyzer - interface cs1705.weblog.LogAnalyzer.
An interface for a web server log analyzer that processes web log data analyses hourly and weekly access patterns.
LogEntry - class cs1705.weblog.LogEntry.
Store the data from a single line of a web-server log file.
LogEntry(String) - Constructor for class cs1705.weblog.LogEntry
Decompose a log line so that the individual fields are available.
LogReader - class cs1705.weblog.LogReader.
A class to read information from a file of web server accesses.
LogReader(BufferedReader) - Constructor for class cs1705.weblog.LogReader
Create a LogfileReader to supply data from the specified stream.

M

MazeGenerator - class cs1705.MazeGenerator.
The class generates mazes for Karel J.
MazeGenerator() - Constructor for class cs1705.MazeGenerator
 
Move - class cs1705.tetris.Move.
This class represents a single move made by or considered by a Tetris "Brain" class.
Move() - Constructor for class cs1705.tetris.Move
Create a new Move object with zero/null fields.
Move(int, int, Piece, double) - Constructor for class cs1705.tetris.Move
Create a new Move object.
main(String[]) - Static method in class cs1705.RunRobotTask
This main method takes the name of a RobotTask class as an argument, and it executes the corresponding task.
main(String[]) - Static method in class cs1705.Version
This main method simply prints out the version information on System.out.
main(String[]) - Static method in class cs1705.tetris.JTetris
Creates a Window, installs the JTetris or JBrainTetris, checks the testMode state, install the controls in the WEST.
message() - Method in class cs1705.adventure.HelpCommand
Get the descriptive message that is presented before the list of commands when this command is executed.
move() - Method in class cs1705.VPIRobot
Moves the robot one space (intersection) forward in the direction the robot is currently facing.

N

nextEntry() - Method in class cs1705.weblog.LogReader
Analyze the next line from the log file and make it available via a LogEntry object.
nextRotation() - Method in class cs1705.tetris.Piece
Returns a piece that is 90 degrees counter-clockwise rotated from the receiver.
nextToABeeper() - Method in class cs1705.VPIRobot
Checks whether Karel is currently at an intersection that also contains a beeper pile of one or more beepers.
nextToARobot() - Method in class cs1705.VPIRobot
Checks whether Karel is currently at an intersection that also contains another robot.
nthRotation(int) - Method in class cs1705.tetris.Piece
Returns a piece that is rotated counter-clockwise from the receiver by n 90-degree rotations.
numRotations() - Method in class cs1705.tetris.Piece
Determine the number of distinct rotations for this piece.

O

openFile(String) - Static method in class cs1705.Browser
Display a file in the system browser.
openFile(File) - Static method in class cs1705.Browser
Display a file in the system browser.
openURL(String) - Static method in class cs1705.Browser
Display a URL in the system browser.
overrideNextRobotCreation(int, int, Directions.Direction, int) - Static method in class cs1705.TestableRobot
Define the starting conditions for the next robot that is created.
overrideNextStartUsingFile(String) - Static method in class cs1705.World
Define the file name to read a world description from on the next startFrom...() call.
overrideNextStartUsingString(String) - Static method in class cs1705.World
Define the world description tu use on the next startFrom...() call.
overrideNextStartUsingURL(String) - Static method in class cs1705.World
Define the URL to read a world description from on the next startFrom...() call.

P

PLACE_BAD - Static variable in class cs1705.tetris.Board
 
PLACE_OK - Static variable in class cs1705.tetris.Board
 
PLACE_OUT_BOUNDS - Static variable in class cs1705.tetris.Board
 
PLACE_ROW_FILLED - Static variable in class cs1705.tetris.Board
 
Parser - class cs1705.adventure.Parser.
This parser reads user input and tries to interpret it as an "Adventure" command.
Parser() - Constructor for class cs1705.adventure.Parser
 
Piece - class cs1705.tetris.Piece.
An immutable representation of a tetris piece in a particular rotation.
Player - class cs1705.adventure.Player.
This class represents a player in an adventure game.
Player() - Constructor for class cs1705.adventure.Player
Constructor for objects of class Player
paintComponent(Graphics) - Method in class cs1705.tetris.JTetris
Draws the current board with a 1 pixel border around the whole thing.
parser() - Method in class cs1705.adventure.Game
Access this game's parser.
pickBeeper() - Method in class cs1705.VPIRobot
Attempts to pick up one beeper from the beeper pile at the intersection where the robot is currently located and place it in the robot's beeper bag.
pickNextPiece() - Method in class cs1705.tetris.JBrainTetris
Selects the next piece to use using the random generator set in startGame(), or the adversary.
pickNextPiece() - Method in class cs1705.tetris.JTetris
Selects the next piece to use using the random generator set in startGame().
piece() - Method in class cs1705.tetris.Move
Retrieve the piece associated with this move.
place(Piece, int, int) - Method in class cs1705.tetris.Board
Attempts to add the body of a piece to the board.
play() - Method in class cs1705.adventure.Game
Main play routine.
player() - Method in class cs1705.adventure.Game
Access this game's player.
printWelcome() - Method in class cs1705.adventure.Game
Print out the opening message for the player.
promptString() - Method in class cs1705.adventure.Parser
Get the prompt string printed before reading each command.
putBeeper() - Method in class cs1705.VPIRobot
Attempts to place one beeper from the robot's beeper bag in the pile at the intersection where this robot is currently located.

Q

QuitCommand - class cs1705.adventure.QuitCommand.
Implementation of the 'quit' user command for adventure games.
QuitCommand() - Constructor for class cs1705.adventure.QuitCommand
Constructor for objects of class QuitCommand

R

RIGHT - Static variable in class cs1705.tetris.JTetris
 
RIGHT_DOG - Static variable in class cs1705.tetris.Piece
 
RIGHT_L - Static variable in class cs1705.tetris.Piece
 
ROTATE - Static variable in class cs1705.tetris.JTetris
 
Robot - class cs1705.Robot.
This class is a simple wrapper for Bergin's Robot.
Robot(int, int, Directions.Direction, int) - Constructor for class cs1705.Robot
Constructor which supports the specific placement, orientation and setting the number of beepers for Karel.
RobotTask - interface cs1705.RobotTask.
This class defines the common interface for all robot task objects.
Room - class cs1705.adventure.Room.
Represents one location in the scenery of an adventure game.
Room(String) - Constructor for class cs1705.adventure.Room
Create a room described "description".
RunRobotTask - class cs1705.RunRobotTask.
This class represents a main program that takes a command-line argument that names a RobotTask; it creates an instance of the named task and then runs it.
RunRobotTask() - Constructor for class cs1705.RunRobotTask
Create a new RunRobotTask object.
referrer() - Method in class cs1705.weblog.LogEntry
Get the URL of the "referrer" containing the link used to make the request.
repaintPiece(Piece, int, int) - Method in class cs1705.tetris.JTetris
Given a piece and a position for the piece, generates a repaint for the rectangle that just encloses the piece.
request() - Method in class cs1705.weblog.LogEntry
Get the request method, URL, and protocol for this log line.
reset() - Static method in class cs1705.World
Remove everything from the world and returns it to a pristine state.
resultCode() - Method in class cs1705.weblog.LogEntry
Get the result code returned by the server.
rowAfterDrop(Piece, int) - Method in class cs1705.tetris.Board
Given a piece and an x, returns the y value where the piece would come to rest if it were dropped straight down at that x.

S

SQUARE - Static variable in class cs1705.tetris.Piece
 
STICK - Static variable in class cs1705.tetris.Piece
 
sanityCheck() - Method in class cs1705.tetris.Board
Checks the board for internal consistency -- used for debugging.
score() - Method in class cs1705.tetris.Move
Retrieve the score associated with this move.
setCurrent(Piece, int, int) - Method in class cs1705.tetris.JTetris
Given a piece, tries to install that piece into the board and set it to be the current piece.
setCurrentRoom(Room) - Method in class cs1705.adventure.Player
Set the current room for this player.
setDelay(int) - Static method in class cs1705.World
Slow down (or speed up) the operation of robots in the world.
setExit(String, Room) - Method in class cs1705.adventure.Room
Define an exit from this room.
setPiece(Piece) - Method in class cs1705.tetris.Move
Change the piece associated with this move.
setScore(double) - Method in class cs1705.tetris.Move
Change the score associated with this move.
setSecondWord(String) - Method in class cs1705.adventure.Command
Define the second word of this command (the word entered after the command word).
setSize(int, int) - Static method in class cs1705.World
Set the size of the world.
setTrace(boolean) - Static method in class cs1705.World
Turns tracing on or off.
setVisible(boolean) - Static method in class cs1705.World
Show or hide the world's graphic frame.
setX(int) - Method in class cs1705.tetris.Move
Change the x-coordinate of the location for this move's piece.
setY(int) - Method in class cs1705.tetris.Move
Change the y-coordinate of the location for this move's piece.
showAll() - Method in class cs1705.adventure.CommandWords
 
showSpeedControl(boolean) - Static method in class cs1705.World
Show or hide the speed dialog.
startEmpty() - Static method in class cs1705.World
Initializes Karel's world to be completely empty.
startFromFile(String) - Static method in class cs1705.World
Initializes Karel's world by reading the world configuration file from the file indicated by the given file name.
startFromString(String) - Static method in class cs1705.World
Initializes Karel's world from the given string.
startFromURL(String) - Static method in class cs1705.World
Initializes Karel's world by downloading the world configuration file from a URL, given as a string.
startGame() - Method in class cs1705.tetris.JTetris
Sets the internal state and starts the timer so the game is happening.
stopGame() - Method in class cs1705.tetris.JTetris
Stops the game.
style() - Method in class cs1705.tetris.Piece
Check the "style" of piece this object represents.

T

T - Static variable in class cs1705.tetris.Piece
 
TEST_LIMIT - Variable in class cs1705.tetris.JTetris
 
TOP_SPACE - Static variable in class cs1705.tetris.JTetris
 
TestableRobot - class cs1705.TestableRobot.
This class extends Robot with assertion capabilities, adding a number of methods useful in writing test cases and in using test-driven development.
TestableRobot(int, int, Directions.Direction, int) - Constructor for class cs1705.TestableRobot
Constructor which supports the specific placement, orientation and setting the number of beepers for Karel.
TestableWorld - class cs1705.TestableWorld.
This class provides the basic assertion capabilities for Karel's World in the form of methods useful for writing test cases.
TestableWorld() - Constructor for class cs1705.TestableWorld
This class should not be instantiated--it only provides static methods that can be called without an object.
task() - Method in interface cs1705.RobotTask
This method encapsulates a sequence of instructions for creating and commanding one or more robots (see VPIRobot).
tick(int) - Method in class cs1705.tetris.JBrainTetris
Overrides JTetris.tick(int) so that, when a brain is enabled, it takes over when the user is not sending commands.
tick(int) - Method in class cs1705.tetris.JTetris
Called to change the position of the current piece.
toString() - Method in class cs1705.tetris.Board
Returns a human-readable string representation of this board.
toString() - Method in class cs1705.tetris.Move
Returns a human-readable string representation of this Move.
toString() - Method in class cs1705.tetris.Piece
Returns a human-readable string representation of this piece.
toString() - Method in class cs1705.weblog.LogEntry
Create a string representation of the data.
turnLeft() - Method in class cs1705.VPIRobot
Turns this robot 90 degrees to the left.
turnOff() - Method in class cs1705.VPIRobot
Turns off this robot.

U

undo() - Method in class cs1705.tetris.Board
If a place() happens, optionally followed by a clearRows(), a subsequent undo() reverts the board to its state before the place().
updateTimer() - Method in class cs1705.tetris.JTetris
Updates the timer to reflect the current setting of the speed slider.
ur_Robot - class cs1705.ur_Robot.
This class is a simple wrapper for Bergin's ur_Robot class and represents a minimal robot.
ur_Robot(int, int, Directions.Direction, int) - Constructor for class cs1705.ur_Robot
Constructor which supports the specific placement, orientation and setting the number of beepers for Karel.

V

VPIRobot - class cs1705.VPIRobot.
A class that represents a robot.
VPIRobot(int, int, Directions.Direction, int) - Constructor for class cs1705.VPIRobot
Constructor which supports the specific placement, orientation and setting the number of beepers for Karel.
VPIRobot() - Constructor for class cs1705.VPIRobot
Default constructor which places Karel at the intersection of 1st street and 1st avenue, holding no beepers, and facing north.
Version - class cs1705.Version.
This class allows access to the package version information.
Version() - Constructor for class cs1705.Version
Create a new Version object.
version() - Static method in class cs1705.Version
Retrieve the current version information for this class (and this class jar/library) as a string.

W

WIDTH - Static variable in class cs1705.tetris.JTetris
 
World - class cs1705.World.
This class can be used to build and maintain the world in which robots work and play.
walk(String) - Method in class cs1705.adventure.Player
Try to walk in a given direction.
welcomeMessage() - Method in class cs1705.adventure.Game
Returns the welcome message printed when the game starts.

X

x() - Method in class cs1705.tetris.Move
Retrieve the x-coordinate of the location for this move's piece.

Y

y() - Method in class cs1705.tetris.Move
Retrieve the y-coordinate of the location for this move's piece.

A B C D E F G H I J L M N O P Q R S T U V W X Y