Class JBombWallCell
java.lang.Object
|
+--CellBasedGame.Cell
|
+--JBombCell
|
+--JBombWallCell
- public class JBombWallCell
- extends JBombCell
Classe che implementa le Cell dei muri
- Author:
- Marco Mastropaolo (marco.mastropaolo@libero.it / st971422@educ.di.unito.it)
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
SPRITEFILEWALLX
protected static final int SPRITEFILEWALLX
- coordinate degli sprite
SPRITEFILEWALLY
protected static final int SPRITEFILEWALLY
- coordinate degli sprite
JBombWallCell
public JBombWallCell(JBombGame Game,
int nX,
int nY)
- Costruisce una JBombWallCell
- Parameters:
Game - Il gioco in cui è contenutanX - la coordinata x della cellanY - la coordinata y della cella
paint
public void paint(java.awt.Graphics g)
- Overrides:
- paint in class JBombCell
isAWall
public boolean isAWall(DynamicObject obj)
- Overrides:
- isAWall in class JBombCell
Explode
public void Explode(Explodable[][] World)
- Esplode la cella lasciando al suo posto un eventuale bonus
- Parameters:
World - un array di oggetti Explodable- Overrides:
- Explode in class JBombCell
timeTick
public void timeTick()
- Overrides:
- timeTick in class JBombCell
BlocksFire
public boolean BlocksFire()
- Overrides:
- BlocksFire in class JBombCell