de.jos.game.actions
Class ActionScrollInOut
java.lang.Object
de.jos.game.actions.AbstractAction
de.jos.game.actions.ActionScrollInOut
- All Implemented Interfaces:
- SpecialActionEvent, Constants
public class ActionScrollInOut
- extends AbstractAction
- implements SpecialActionEvent, Constants
| Fields inherited from interface de.jos.game.Constants |
BOARD_WIDTH_X, BOARD_WIDTH_Y, BOTTOM_BORDER, COLOR_BLUE, COLOR_CYAN, COLOR_GREEN, COLOR_ORANGE, COLOR_PINK, COLOR_RED, COLOR_VIOLET, COLOR_YELLOW, DEFAULT_BACKGROUND_COLOR, GAME_TIME_SECONDS, GAME_TIME_SECONDS_WARNING, LEFT_BORDER, LEVEL_ADVANCEMENT_HEIGHT, LEVEL_ADVANCEMENT_WIDTH, LEVEL_ADVANCEMENT_X_OFFSET, LEVEL_ADVANCEMENT_Y_TARGET, LEVEL_SOLVE_SCORE_X, LEVEL_SOLVE_SCORE_Y, MODE_INFINITE, MODE_PUZZLE, MOUSE_STATE_NOT_PRESSED, MOUSE_STATE_PRESSED, MOVE_DIFF, MOVING_FACTOR, PROGRESSBAR_BORDER, PROGRESSBAR_HEIGHT, PROGRESSBAR_WINDOW_BORDERX, PROGRESSBAR_WINDOW_BORDERY, PUZZLE_SPRITE_WIDTH_X, PUZZLE_SPRITE_WIDTH_Y, RIGHT_BORDER, SPRITE_HEIGHT, SPRITE_WIDTH, TOP_BORDER, TRANSPARENCY_INCREMENT, TRANSPARENCY_INIT, WINDOW_HEIGHT, WINDOW_WIDTH, X_OFFSET, Y_OFFSET |
|
Method Summary |
java.lang.Integer |
getLayer()
|
java.lang.String |
getName()
|
java.lang.Integer |
getNextLevelNewColor()
|
de.jos.game.actions.ActionScrollInOut.State |
getState()
|
java.lang.String |
getText1()
|
java.lang.String |
getText2()
|
void |
init()
|
boolean |
isFinished()
If finished returns true, the actionEvent can be removed from the list. |
void |
render(java.awt.Graphics2D graphics,
com.golden.gamedev.GameObject gameObject)
|
void |
setNextLevelNewColor(java.lang.Integer nextLevelNewColor)
|
void |
setState(de.jos.game.actions.ActionScrollInOut.State state)
|
void |
setText1(java.lang.String text1)
|
void |
setText2(java.lang.String text2)
|
void |
update(long elapsedTime,
com.golden.gamedev.GameObject gameObject)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionScrollInOut
public ActionScrollInOut()
init
public void init()
- Specified by:
init in interface SpecialActionEvent- Overrides:
init in class AbstractAction
update
public void update(long elapsedTime,
com.golden.gamedev.GameObject gameObject)
- Specified by:
update in interface SpecialActionEvent
render
public void render(java.awt.Graphics2D graphics,
com.golden.gamedev.GameObject gameObject)
- Specified by:
render in interface SpecialActionEvent
getLayer
public java.lang.Integer getLayer()
- Specified by:
getLayer in interface SpecialActionEvent- Specified by:
getLayer in class AbstractAction
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:
getState
public de.jos.game.actions.ActionScrollInOut.State getState()
setState
public void setState(de.jos.game.actions.ActionScrollInOut.State state)
getText1
public java.lang.String getText1()
setText1
public void setText1(java.lang.String text1)
getText2
public java.lang.String getText2()
setText2
public void setText2(java.lang.String text2)
getNextLevelNewColor
public java.lang.Integer getNextLevelNewColor()
setNextLevelNewColor
public void setNextLevelNewColor(java.lang.Integer nextLevelNewColor)
getName
public java.lang.String getName()
- Specified by:
getName in interface SpecialActionEvent
Copyright © 2008. All Rights Reserved.