|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.amoebacode.blackjack.display.DisplayElement
DisplayElement is the base class for all display elements, providing access to the parent display element and the GameDisplay.
| Field Summary | |
private DisplayElement |
parent
The parent of this display element |
| Constructor Summary | |
protected |
DisplayElement()
Empty constructor (to be used by GameDisplay). |
protected |
DisplayElement(DisplayElement parent)
Default protected constructor. |
| Method Summary | |
protected void |
executeGameCommand(ICommand command)
Sends the specified game command to the game display object. |
protected DisplayManager |
getDisplayManager()
Returns the display manager from the game display. |
protected GameDisplay |
getGameDisplay()
Returns the parent game display object. |
protected DisplayElement |
getParent()
Returns the parent of this display element. |
protected boolean |
hasParent()
Indicates whether this display element has a parent element. |
protected void |
playGameClip(java.lang.String audioClip)
Plays the specified game audio clip. |
protected void |
queueAction(QueueableAction action)
Sends the specified queueable action to the game display object. |
protected void |
resumeQueue()
Resumes the game display queue. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private DisplayElement parent
| Constructor Detail |
protected DisplayElement(DisplayElement parent)
parent - the parent DisplayElementprotected DisplayElement()
| Method Detail |
protected boolean hasParent()
protected DisplayManager getDisplayManager()
protected DisplayElement getParent()
protected GameDisplay getGameDisplay()
protected void executeGameCommand(ICommand command)
command - the ICommand to executeprotected void queueAction(QueueableAction action)
action - the QueueableAction to queueprotected void resumeQueue()
protected void playGameClip(java.lang.String audioClip)
audioClip - the name of the clip to play
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||