|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
vooga.gameEngine.event.ScoreEvent
public class ScoreEvent
Event used to communicate the score of a game
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ScoreEvent(java.lang.Object source,
double score)
Constructs a ScoreEvent given its source and the score it is
to report. |
Method Summary | |
---|---|
double |
getScore()
|
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScoreEvent(java.lang.Object source, double score)
ScoreEvent
given its source and the score it is
to report.
source
- that fires the eventscore
- of the gameMethod Detail |
---|
public double getScore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |