|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gatech.cs2335.lemmings.engine.Map
The map on which stuff will be happening.
| Constructor Summary | |
Map()
Creates a new Map instance. |
|
| Method Summary | |
void |
addShape(java.awt.Shape shape,
java.awt.Color color)
When someone creates something on the map, the thing will be added to the map. |
java.awt.image.BufferedImage |
createGameMap()
This will create a Game Map for use in drawing to screen. |
java.awt.image.BufferedImage |
getBackground()
Access method for the background property. |
java.awt.image.BufferedImage |
getGameMap()
Describe getGameMap method here. |
java.awt.image.BufferedImage |
getMap()
Access method for the map property. |
java.awt.Dimension |
getSize()
Access method for the size property. |
java.awt.image.BufferedImage |
getTexture()
Access method for the texture property. |
java.awt.image.BufferedImage |
getUnbreakableTexture()
Method getUnbreakableTexture |
AnimatedSprite |
getWaterAnimation()
Returns the water animation. |
static void |
main(java.lang.String[] args)
Main |
void |
setBackground(java.awt.image.BufferedImage aBackground)
Sets the value of the background property. |
void |
setMap(java.awt.image.BufferedImage aMap)
Sets the value of the map property. |
void |
setTexture(java.awt.image.BufferedImage aTexture)
Sets the value of the texture property. |
void |
setUnbreakableTexture(java.awt.image.BufferedImage unbreakableTexture)
Method setUnbreakableTexture |
void |
setWaterAnimation(TileSet set)
Describe setWaterAnimation method here. |
void |
subtractShape(java.awt.Shape shape)
When something explodes, digs, or mines, some part of the map can be destroyed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Map()
Map instance.
| Method Detail |
public java.awt.image.BufferedImage getBackground()
public void setBackground(java.awt.image.BufferedImage aBackground)
aBackground - the new value of the background propertypublic java.awt.image.BufferedImage getTexture()
public void setTexture(java.awt.image.BufferedImage aTexture)
aTexture - the new value of the texture propertypublic void setUnbreakableTexture(java.awt.image.BufferedImage unbreakableTexture)
unbreakableTexture - ubpublic java.awt.image.BufferedImage getUnbreakableTexture()
public java.awt.image.BufferedImage getMap()
public void setMap(java.awt.image.BufferedImage aMap)
aMap - the new value of the map propertypublic java.awt.image.BufferedImage getGameMap()
getGameMap method here.
BufferedImage valuepublic java.awt.Dimension getSize()
public AnimatedSprite getWaterAnimation()
AnimatedSprite valuepublic void setWaterAnimation(TileSet set)
setWaterAnimation method here.
set - a TileSet valuepublic java.awt.image.BufferedImage createGameMap()
public void addShape(java.awt.Shape shape,
java.awt.Color color)
shape - The shape to add to the map.color - The color of the shapepublic void subtractShape(java.awt.Shape shape)
shape - The shape to remove from the map.public static void main(java.lang.String[] args)
args - args
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||