public class BombRepresent
extends java.lang.Object
Constructor and Description |
---|
BombRepresent(Bomb bomb,
ImagedPanel represent,
javax.swing.JLabel theLabel)
Creates an instance of BombRepresent.
|
Modifier and Type | Method and Description |
---|---|
Bomb |
getBomb()
Get the bomb instance that is represented.
|
javax.swing.JLabel |
getLabel()
Get the Label that displays the owner of the bomb.
|
ImagedPanel |
getRepresent()
Get the ImagedPanel representing the bomb.
|
public BombRepresent(Bomb bomb, ImagedPanel represent, javax.swing.JLabel theLabel)
bomb
- The bomb that is to be represented.represent
- The ImagedPanel component that represents the bomb in the user interface.ImagedPanel
public Bomb getBomb()
public ImagedPanel getRepresent()
public javax.swing.JLabel getLabel()