public class FlickGameScore extends PerformActionMessage implements java.io.Serializable
PerformActionMessage.MESSAGESTATE
Constructor and Description |
---|
FlickGameScore()
Empty Constructor used to initialise value in the network cluster.
|
FlickGameScore(boolean remove)
Create a structured device position message for transmission through the
cluster.
|
FlickGameScore(int scoreBlue,
int scoreRed)
Create a structured score message for transmission through the cluster.
|
Modifier and Type | Method and Description |
---|---|
int |
getScoreBlue()
Get the score for device 1.
|
int |
getScoreRed()
Get the score for device 2.
|
getMessageID, getMessageState, messageAlreadyReceived, regenerateID
public FlickGameScore()
public FlickGameScore(boolean remove)
remove
- public FlickGameScore(int scoreBlue, int scoreRed)
scoreBlue
- Score of device 1.scoreRed
- Score of device 2.