Package ruscz.game.gameOfProd.Cells
Class TriggerCell
- java.lang.Object
-
- ruscz.game.gameOfProd.Cells.Cell
-
- ruscz.game.gameOfProd.Cells.InteractionCell
-
- ruscz.game.gameOfProd.Cells.TriggerCell
-
public class TriggerCell extends InteractionCell
Special type of Interaction cell that is triggered on Player stepping onto it
-
-
Constructor Summary
Constructors Constructor Description TriggerCell(int x, int y, java.lang.String message, Dialog dialog, Map map, WindowOfFreeMove window)TriggerCell(int x, int y, java.lang.String message, Dialog dialog, Map map, WindowOfFreeMove window, boolean active)
-
Method Summary
-
Methods inherited from class ruscz.game.gameOfProd.Cells.InteractionCell
getDialog, getImageCell, getSoundManager, playCustscene, readDialogFile, readNextLine, startEvent, useItem
-
-
-
-
Constructor Detail
-
TriggerCell
public TriggerCell(int x, int y, java.lang.String message, Dialog dialog, Map map, WindowOfFreeMove window)
-
TriggerCell
public TriggerCell(int x, int y, java.lang.String message, Dialog dialog, Map map, WindowOfFreeMove window, boolean active)
-
-
Method Detail
-
endEvent
public void endEvent()
Description copied from class:InteractionCellEnds event and bounds camera- Overrides:
endEventin classInteractionCell
-
paint
public void paint(java.awt.Graphics2D g)
- Overrides:
paintin classInteractionCell
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classInteractionCell
-
getActive
public boolean getActive()
-
setActive
public void setActive(boolean active)
-
-