Class JBombBorderCell
java.lang.Object
|
+--CellBasedGame.Cell
|
+--JBombCell
|
+--JBombBorderCell
- public final class JBombBorderCell
- extends JBombCell
Classe che implementa le Cell dei muri indistruttibili (bordi)
- 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 |
SPRITEFILEBORDERX
private static final int SPRITEFILEBORDERX
- Coordinate dello sprite nel file
SPRITEFILEBORDERY
private static final int SPRITEFILEBORDERY
- Coordinate dello sprite nel file
JBombBorderCell
public JBombBorderCell(JBombGame Game,
int nX,
int nY)
- Costruisce una JBombBorderCell
- 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)
- Overrides:
- Explode in class JBombCell
timeTick
public void timeTick()
- Overrides:
- timeTick in class JBombCell
BlocksFire
public boolean BlocksFire()
- Overrides:
- BlocksFire in class JBombCell