|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--CellBasedGame.Cell
|
+--JBombCell
|
+--JBombGrassCell
|
+--JBombBonusCell
|
+--JBombBonusFlameCell
Implementazione di un bonus che consente al giocatore di avere una fiammata piu lunga.
| Field Summary | |
int |
SPRITEX
(costante) La coordinata X dello sprite |
int |
SPRITEY
(costante) La coordinata Y dello sprite |
| Fields inherited from class JBombGrassCell |
FIREPERMANENCY,
FIRESPRITEX,
FIRESPRITEY,
m_Bomb,
m_bOnFire,
m_nFireCountDown |
| Fields inherited from class JBombCell |
m_bIsExploding,
m_jbGame |
| Fields inherited from class CellBasedGame.Cell |
m_Game,
m_nX,
m_nY |
| Constructor Summary | |
JBombBonusFlameCell(JBombGame Game,
int nX,
int nY)
Costruisce l'oggetto. |
|
| Method Summary | |
void |
effect(JBPlayer p)
applica l'effetto |
void |
paint(java.awt.Graphics g)
|
| Methods inherited from class JBombBonusCell |
autoDestroy,
BlocksFire,
Explode,
hasBomb,
isAWall,
setBomb,
timeTick,
walkOver |
| Methods inherited from class JBombCell |
IsExploding,
isOnFire |
| Methods inherited from class CellBasedGame.Cell |
changeSelf |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public final int SPRITEX
public final int SPRITEY
| Constructor Detail |
public JBombBonusFlameCell(JBombGame Game,
int nX,
int nY)
Game - Il gioco a cui appartiene l'oggettonX - la coordinata x del bonusnY - la coordinata y del bonus| Method Detail |
public void paint(java.awt.Graphics g)
public void effect(JBPlayer p)
p - Il giocatore che ha preso il bonus
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||