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

S

scale(double) - Method in class tipgame.Sprite
scale with regard to the current scaling.
scaleFactor - Variable in class tipgame.tracker.CompositeTracker
 
scheduleAbsolute(Alarm, double) - Method in class tipgame.FrameAdvancer
sets and alarm to go off at a time relative to the beginning of time (zero).
scheduleRelative(Alarm, double) - Method in class tipgame.FrameAdvancer
sets and alarm to go off relative to the current time.
score - Variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The player's current score.
SCORE_LOCATION - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The location of the score.
SCORE_SIZE_X - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The width of the score.
scoreSprite - Variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The sprite for the player's current score.
SEED - Static variable in class tipgame.GameLoop
seed for random numbers
sendFirstClientMessage() - Method in class tipgame.net.GameConnections
sends the information the client needs to start communications: keyboard array mouse array message array This method sends the arrays as complete objects the first time so that the existing objects can simply be updated on later transmissions.
sendMessage(Object) - Method in class tipgame.GameLoop
sends message
sendPause - Variable in class tipgame.net.Client
pause is toggled by settting sendPause to true
server - Variable in class tipgame.GameLoop
server name
Server - Class in tipgame.net
This is used to receive and transmit data for consistency.
Server(Object) - Constructor for class tipgame.net.Server
 
Server() - Constructor for class tipgame.net.Server
 
server - Variable in class tipgame.util.GameSelector
server connected to
Server.Dispatcher - Class in tipgame.net
communicates with the client to determine which game to join
Server.Dispatcher(ObjectOutputStream, ObjectInputStream) - Constructor for class tipgame.net.Server.Dispatcher
stores the streams for communication
serverField - Variable in class tipgame.util.GameSelector
where the user puts the server to connect to
serverSocket - Variable in class tipgame.net.Server
the socket listening for new connections
session - Variable in class tipgame.net.Client
the name of the currently running session
sessionName - Variable in class tipgame.GameLoop
name of session
sessionName - Variable in class tipgame.net.GameConnections
name of this session
sessions - Variable in class tipgame.util.GameSelector
map of games to sessions
sessionSpinner - Variable in class tipgame.util.GameSelector
the selection of sessions for a given game
setAngularVelocity(double) - Method in class bike2.BikeProject.Axle
 
setAngularVelocity(double) - Method in class bike2.BikeProject.Gear
 
setAngularVelocity(double) - Method in class bike2.BikeProject.Wheel
 
setCanvas(AnimationCanvas) - Method in class tipgame.FrameAdvancer
set canvas to a new canvas
setCellWidth(int) - Method in class life.Render
 
setColor(Color) - Method in class tipgame.Sprite
determines the fill color of the shape.
setEnabled(boolean) - Method in class tipgame.sprite.BlurSprite
enables the sprite blur
setEnabled(boolean) - Method in class tipgame.Sprite
sets the Sprite's ability to display and update
setFrameAdvancer(FrameAdvancer) - Method in class tipgame.net.Client
 
setGameName(String) - Method in class tipgame.GameLoop
sets the name of the game
setGameName(String) - Method in class tipgame.GameWindow
abstract method, sets the name of the game
setHeight(double) - Method in class tipgame.sprite.StringSprite
makes the size of this sprite such that the height of the text is a given number of pixels
setHistory(int, int) - Method in class tipgame.sprite.BlurSprite
updates the number of previous frames to store and how many Shapes to store per frame
setImagPart(double) - Method in class classwork.ComplexNumber
 
setLocalKeyboard(Keyboard) - Method in class tipgame.net.Client
 
setLocalMessage(Object) - Method in class tipgame.net.Client
 
setLocalMouse(Mouse) - Method in class tipgame.net.Client
 
setLocation(Point2D.Double) - Method in class tipgame.game.gammacentauri.tracker.BulletTracker
Sets the location of the bullet to a given point.
setLocation(Point2D.Double) - Method in class tipgame.game.gammacentauri.tracker.EnemyBulletTracker
Sets the location of the bullet to a given point.
setLocation(Point2D.Double) - Method in class tipgame.game.gammacentauri.tracker.EnemyTracker
Sets the location of the enemy to a given point.
setLocation(double, double) - Method in class tipgame.game.gammacentauri.tracker.ShipTracker
 
setLocation(Point2D.Double) - Method in class tipgame.Sprite
sets the location without regard to its current location
setLocation(double, double) - Method in class tipgame.Sprite
sets the location without regard to its current location
setMaxTime(double) - Method in class tipgame.util.CollisionDetector
 
setMinimumModelFrameRate(int) - Method in class tipgame.FrameAdvancer
sets the minimum number of frames which must be computed per second.
setNumberOfPlayers(int) - Method in class tipgame.GameLoop
sets the number of players
setNumberOfPlayers(int) - Method in class tipgame.GameWindow
sets the number of players to wait for when starting a new game.
setObserver(Observer) - Method in class tipgame.Keyboard
sets observer
setObserver(Observer) - Method in class tipgame.Mouse
sets observer
setRadius(double) - Method in class bike2.BikeProject.Gear
 
setRadius(double) - Method in class bike2.BikeProject.Wheel
 
setRealPart(double) - Method in class classwork.ComplexNumber
 
setRollingVelocity(double) - Method in class bike2.BikeProject.Chain
 
setRollingVelocity(double) - Method in class bike2.BikeProject.Gear
 
setRollingVelocity(double) - Method in class bike2.BikeProject.Wheel
 
setRotation(double) - Method in class tipgame.sprite.ImageSprite
sets the rotation
setRotation(double) - Method in class tipgame.Sprite
sets the orientation without regard to the current orientation
setScale(double) - Method in class tipgame.Sprite
sets the absolute scale without regard to its current value, must be nonzero
setServerName(String) - Method in class tipgame.GameLoop
sets the name of the server
setServerName(String) - Method in class tipgame.GameWindow
where this game's server resides
setSessionName(String) - Method in class tipgame.GameLoop
sets the name of the session
setSessionName(String) - Method in class tipgame.GameWindow
sets the name of this particular instance of the game
setShape(Shape) - Method in class tipgame.Sprite
sets shape to shape s
setSize(int, int) - Method in class tipgame.AnimationCanvas
sets the display size.
setSize(Dimension) - Method in class tipgame.AnimationCanvas
sets size to size
setSprites(Sprite[]) - Method in class tipgame.util.CollisionDetector
 
setText(String, boolean) - Method in class tipgame.sprite.StringSprite
sets the text of the Sprite
setText(String) - Method in class tipgame.sprite.StringSprite
sets the text of the Sprite
setTitle(String) - Method in class tipgame.GameWindow
Sets the title at the top of the JFrame
setTracker(Tracker) - Method in class tipgame.Sprite
attaches the Tracker to this Sprite.
setUseBoundingBox(boolean) - Method in class tipgame.Sprite
Sets the parameter which determines if the actual shape or its minimal bounding box is used in tests for intersection.
setUseFrame(boolean) - Method in class tipgame.GameWindow
sets hasFrame to parameter hasFrame
setVelocity(double) - Method in class tipgame.game.gammacentauri.tracker.BulletTracker
Sets the velocity of the bullet to a given velocity.
setVelocity(double) - Method in class tipgame.game.gammacentauri.tracker.ShipTracker
Sets the velocity of the ship to a given velocity.
setVelocityX(double) - Method in class tipgame.game.gammacentauri.tracker.EnemyBulletTracker
Sets the horizontal velocity of the bullet to the given velocity.
setVelocityX(double) - Method in class tipgame.game.gammacentauri.tracker.EnemyTracker
Sets the horizontal velocity of the enemy to the given velocity.
setVelocityY(double) - Method in class tipgame.game.gammacentauri.tracker.EnemyBulletTracker
Sets the vertical velocity of the bullet to the given velocity.
setVelocityY(double) - Method in class tipgame.game.gammacentauri.tracker.EnemyTracker
Sets the vertical velocity of the enemy to the given velocity.
setVisible(boolean) - Method in class tipgame.Sprite
sets if the Sprite will be displayed when added to an AnimationCanvas
setVisible(boolean) - Method in class tipgame.util.GameSelector
makes the GUI visible or invisible
setWidth(double) - Method in class tipgame.sprite.StringSprite
makes the size of this sprite such that the width of the text is a given number of pixels
shape - Variable in class tipgame.Sprite
shape should initially be centered at (0, 0)
shapeTransformed - Variable in class tipgame.Sprite
transformed shape
SHIELD_UPGRADE_MAGNITUDE - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The amount by which the player's shields are increased when getting a shield upgrade.
shields - Variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The player's current shields.
SHIELDS_LOCATION - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The location of the shields.
SHIELDS_SIZE_X - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The width of the shields sprite.
shieldsSprite - Variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The sprite for the player's current shields.
ship - Variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The ship sprites.
SHIP_SIDE_LENGTH - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The side length of the player's ship.
SHIP_START - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The starting location of the player's ship.
shipTracker - Variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The ship trackers.
ShipTracker - Class in tipgame.game.gammacentauri.tracker
Tracks and moves a player's ship.
ShipTracker(double, double, double, int, int) - Constructor for class tipgame.game.gammacentauri.tracker.ShipTracker
Constructs a ship given an x-coordinate, y-coordinate, and velocity.
size - Static variable in class life.Board
The length of a side of the square board.
SodaCan - Class in classwork
Models a soda can.
SodaCan(int, int) - Constructor for class classwork.SodaCan
 
SodaTester - Class in classwork
Tests the SodaCan class.
SodaTester() - Constructor for class classwork.SodaTester
 
Sound - Class in tipgame.util
This class handles playing, pausing, and muting sounds.
Sound(URL) - Constructor for class tipgame.util.Sound
Makes a sound clip.
Sound.CurrentlyPlayingListener - Class in tipgame.util
This class removes finished clips from the currentlyPlaying collection.
Sound.CurrentlyPlayingListener() - Constructor for class tipgame.util.Sound.CurrentlyPlayingListener
 
soundFile - Variable in class tipgame.util.Sound
the location of the sound file
sounds - Variable in class tipgame.util.Sound
the sound clips cached (both playing and done playing)
Sprite - Class in tipgame
this class provides a structure for representing sprites which have size, shape, orientation, and color.
Sprite() - Constructor for class tipgame.Sprite
initialize to an empty shape and the default values for scale, rotation, an rotation.
Sprite(Shape) - Constructor for class tipgame.Sprite
initializes to a given shape and the default values for scale and rotation.
sprite - Variable in class tipgame.util.TimedSpriteEnabler
the sprite to enable
sprite - Variable in class tipgame.util.TimedSpriteKiller
the sprite to kill
sprites - Variable in class tipgame.AnimationCanvas
the ordered collection of Sprites.
sprites - Variable in class tipgame.util.CollisionDetector
 
squareRoot() - Method in class classwork.ComplexNumber
Takes the square root of the complex number.
start() - Method in class tipgame.GameLoop
starts session
start - Variable in class tipgame.util.VectorGridIterator
 
startGame() - Method in class tipgame.game.gammacentauri.GammaCentauriLoop
 
startGame() - Method in class tipgame.GameLoop
starts game
startGame() - Method in class tipgame.GameWindow
abstract method, starts game
STARTING_LASER_DAMAGE - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The amount of damage the player's laser does at the start of the game.
STARTING_SHIELDS - Static variable in class tipgame.game.gammacentauri.GammaCentauriLoop
The amount of shields each player starts with.
startPipes() - Method in class tipgame.net.Server
starts pipe communications
startThreads() - Method in class tipgame.net.GameConnections
starts the writing to the clients.
state - Variable in class life.Cell
Whether or not the cell is alive.
stop() - Method in class tipgame.GameWindow
sets the frame invisible and pauses the game
StringSprite - Class in tipgame.sprite
a simple text sprite
StringSprite(String) - Constructor for class tipgame.sprite.StringSprite
makes a Sprite containing a String resized to fit within a square
StringSprite(String, boolean) - Constructor for class tipgame.sprite.StringSprite
makes a Sprite containing a String
StringSprite(String, boolean, double) - Constructor for class tipgame.sprite.StringSprite
makes a Sprite containing a String
subtract(ComplexNumber) - Method in class classwork.ComplexNumber
 
sweep - Variable in class tipgame.util.CollisionDetector
 
sweepIntersection - Variable in class tipgame.util.CollisionDetector
 

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