|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gbanga.api.Gube
public class Gube
A Gube is a brick with a color that has been pulled out from a Tile by a jumping Gbangoo.
For the JSON object serialization, the field names are used. Eg.
{
color: 255,
creationtime: 1142982000000
}
Fields annotated with PrimaryKey are used, if not the whole object is sent. HideIfNull indicates that the field is not sent at all, if the value is not set.
| Field Summary | |
|---|---|
int |
color
The color in decimal format where the hexadecimal representation is rrggbb. |
long |
creationTime
The timestamp of creation. |
Player |
creator
The creating Player. |
| Constructor Summary | |
|---|---|
Gube()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@PrimaryKey public int color
public long creationTime
@HideIfNull public Player creator
Player.
| Constructor Detail |
|---|
public Gube()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||