de.jos.game.actions.permanent
Class ActionCanister
java.lang.Object
de.jos.game.actions.AbstractAction
de.jos.game.actions.permanent.AbstractPermanentAction
de.jos.game.actions.permanent.ActionCanister
- All Implemented Interfaces:
- SpecialEventPermanent, SpecialActionEvent
public class ActionCanister
- extends AbstractPermanentAction
- implements SpecialEventPermanent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionCanister
public ActionCanister(AbstractGameBoard gameBoard)
isFinished
public boolean isFinished()
- Description copied from interface:
SpecialActionEvent
- If finished returns true, the actionEvent can be removed from the list.
- Specified by:
isFinished
in interface SpecialActionEvent
- Returns:
getNumberCanisters
public int getNumberCanisters()
addCanister
public void addCanister(Canister canister)
render
public void render(java.awt.Graphics2D graphics,
com.golden.gamedev.GameObject gameObject)
- Specified by:
render
in interface SpecialActionEvent
update
public void update(long elapsedTime,
com.golden.gamedev.GameObject gameObject)
- Specified by:
update
in interface SpecialActionEvent
- Overrides:
update
in class AbstractPermanentAction
clearCanisters
public void clearCanisters()
combinationMatchPossible
public boolean combinationMatchPossible(Canister canisterToBeAdded,
java.util.List<Combination> combinations)
getLayer
public java.lang.Integer getLayer()
- Specified by:
getLayer
in interface SpecialActionEvent
- Overrides:
getLayer
in class AbstractPermanentAction
isBlocking
public boolean isBlocking()
- Specified by:
isBlocking
in interface SpecialActionEvent
- Overrides:
isBlocking
in class AbstractAction
getCanisterList
protected java.util.List<Canister> getCanisterList()
getGameBoard
public AbstractGameBoard getGameBoard()
getName
public java.lang.String getName()
- Specified by:
getName
in interface SpecialActionEvent
Copyright © 2008. All Rights Reserved.