Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
P
R
S
T
U
W
Z
G
game_LT2
- package game_LT2
GameCanvas
- Class in
game_LT2
This class encapsulates a very simple window in which our shooter game can be shown.
GameCanvas(Dimension)
- Constructor for class game_LT2.
GameCanvas
Construct a game canvas with the passed dimensions
GameDriver
- Class in
game_LT2
This app launches our shooter game (which is not really functional at this point).
GameDriver()
- Constructor for class game_LT2.
GameDriver
GameObserver
- Class in
game_LT2
GameObserver(GameCanvas)
- Constructor for class game_LT2.
GameObserver
getAlpha()
- Method in class img.
Pixel
Method to get the amount of alpha (transparency) at this pixel.
getAverage()
- Method in class img.
Pixel
Method to get the average of the colors of this pixel
getBasicPixel(int, int)
- Method in interface img.
DigitalPicture
getBasicPixel(int, int)
- Method in class img.
SimplePicture
Method to return the pixel value as an int for the given x and y location
getBlue()
- Method in class img.
Pixel
Method to get the amount of blue at this pixel.
getBlue(int)
- Static method in class img.
Pixel
Method to get the blue value from a pixel represented as an int
getBounds()
- Method in class game_LT2.
ShooterSprite
This method returns a rectangular box that completely encloses this sprite.
getBufferedImage()
- Method in interface img.
DigitalPicture
getBufferedImage()
- Method in class img.
SimplePicture
Method to get the buffered image
getColor()
- Method in class img.
Pixel
Method to get a color object that represents the color at this pixel.
getCurrentX()
- Method in class game_LT2.
ProjectileSprite
Accessor for this sprite's current x position
getCurrentX()
- Method in class game_LT2.
ShooterSprite
Accessor for this sprite's current x position
getCurrentX()
- Method in class img.
ImageDisplay
Method to get the current x
getCurrentY()
- Method in class game_LT2.
ProjectileSprite
Accessor for this sprite's current y position
getCurrentY()
- Method in class game_LT2.
ShooterSprite
Accessor for this sprite's current y position
getCurrentY()
- Method in class img.
ImageDisplay
Method to get the current y
getExtension()
- Method in class img.
SimplePicture
Method to get the extension for this picture
getFileName()
- Method in interface img.
DigitalPicture
getFileName()
- Method in class img.
SimplePicture
Method to get the file name associated with the picture
getGraphics()
- Method in class img.
SimplePicture
Method to get a graphics object for this picture to use to draw on
getGraphics2D()
- Method in class img.
SimplePicture
Method to get this picture's Graphics2D object, to use to draw on [added by MB]
getGreen()
- Method in class img.
Pixel
Method to get the amount of green at this pixel.
getGreen(int)
- Static method in class img.
Pixel
Method to get the green value from a pixel represented as an int
getHeight()
- Method in class game_LT2.
ShooterSprite
This method returns the height of the bounding box that contains this sprite
getHeight()
- Method in interface img.
DigitalPicture
getHeight()
- Method in class img.
SimplePicture
Method to get the height of the picture in pixels
getImage()
- Method in interface img.
DigitalPicture
getImage()
- Method in class img.
ImageDisplay
Method to get the image
getImage()
- Method in class img.
SimplePicture
Method to get an image from the picture
getPictureFrame()
- Method in class img.
SimplePicture
Method to get the picture frame for the picture
getPictureWithHeight(int)
- Method in class img.
SimplePicture
Method to create a new picture of the passed height.
getPixel(int, int)
- Method in interface img.
DigitalPicture
getPixel(int, int)
- Method in class img.
SimplePicture
Method to get a pixel object for the given x and y location
getPixels()
- Method in class img.
SimplePicture
Method to get a one-dimensional array of Pixels for this simple picture
getPreferredScrollableViewportSize()
- Method in class img.
ImageDisplay
Method to return the preferred size
getRed()
- Method in class img.
Pixel
Method to get the amount of red at this pixel.
getRed(int)
- Static method in class img.
Pixel
Method to get the red value from a pixel represented as an int
getScrollableBlockIncrement(Rectangle, int, int)
- Method in class img.
ImageDisplay
Method to return the block increment for scrolling
getScrollableTracksViewportHeight()
- Method in class img.
ImageDisplay
Method to check if the viewport height is the source height
getScrollableTracksViewportWidth()
- Method in class img.
ImageDisplay
Method to check if the viewport width is the source width
getScrollableUnitIncrement(Rectangle, int, int)
- Method in class img.
ImageDisplay
Method to return the unit increment for scrolling
getShooterSprite()
- Method in class game_LT2.
GameCanvas
Getter for the shooter sprite on this canvas.
getShooterTip()
- Method in class game_LT2.
ShooterSprite
Returns the point that corresponds to the tip of this shooter sprite (e.g., the location from which projectiles should be issued).
getTitle()
- Method in interface img.
DigitalPicture
getTitle()
- Method in class img.
SimplePicture
Method to get the title of the picture
getTranslationEnclosingRectangle(AffineTransform)
- Method in class img.
SimplePicture
Method to get the coordinates of the enclosing rectangle after this transformation is applied to the current picture
getWidth()
- Method in class game_LT2.
ShooterSprite
This method returns the width of the bounding box that contains this sprite
getWidth()
- Method in interface img.
DigitalPicture
getWidth()
- Method in class img.
SimplePicture
Method to get the width of the picture in pixels
getX()
- Method in class img.
Pixel
Method to get the x location of this pixel.
getY()
- Method in class img.
Pixel
Method to get the y location of this pixel.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
P
R
S
T
U
W
Z