|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Location
Used to save data from run games. Note that not all fields are accessed by all other classes using this one.
| Field Summary | |
int |
index
Which number was clicked. |
long |
passed
Time passed between button clicks. |
long |
times
Absolute time button was clicked. |
int |
x
X-location of spot clicked. |
int |
y
Y-location of spot clicked. |
| Constructor Summary | |
Location()
Initialize all variables to zero. |
|
Location(int a,
int b,
int i,
long t,
long p)
Used to load and save data. |
|
| Method Summary | |
void |
clearData()
Reset all data to zero. |
void |
setData(int a,
int b,
long t)
Set data to types listed |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public int x
public int y
public int index
public long times
public long passed
| Constructor Detail |
public Location()
public Location(int a,
int b,
int i,
long t,
long p)
a - X-coordinate.b - Y-coordinate.i - Index value.t - Absolute time.p - Time passed.| Method Detail |
public void clearData()
public void setData(int a,
int b,
long t)
a - X-coordinate.b - Y-coordinate.t - Absolute time.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||