Class RunGameObject

java.lang.Object
  |
  +--RunGameObject

public class RunGameObject
extends java.lang.Object
implements java.io.Serializable

Used to load and save run game data.

Author:
Karen Stevens
See Also:
Serialized Form

Field Summary
 int[] Atr1
          How the attributes from board 1 were ranked.
 int[] Atr2
          How the attributes from board 2 were ranked.
 java.lang.String ChildData
          Specified information about child running game.
 long Etime1
          Run time for board 1.
 long Etime2
          Run time for board 2.
 int fav1
          Picked item in 1st board.
 int fav2
          Picked item in 2nd board.
 Coord[] Game1Row
          Run Game information for board 1.
 Coord[] Game2Row
          Run Game information for board 2.
 int index1
          Number of boxes viewed in 1st board.
 int index2
          Number of boxes viewed in 2nd board.
 Location[] pick1
          Run Game information for board 1.
 Location[] pick2
          Run Game information for board 2.
 int[] Ques
          How the questions were ranked.
 int[] scramble1x
          Indexing array 1 for 1st board.
 int[] scramble1y
          Indexing array 2 for 1st board.
 int[] scramble2x
          Indexing array 1 for 2nd board.
 int[] scramble2y
          Indexing array 2 for 2nd board.
 GameSetupData SetupData
          Contains game setup information.
 
Constructor Summary
RunGameObject()
          Initializes index values.
RunGameObject(GameSetupData S, Coord[] G1, Coord[] G2, int[] A1, int[] A2, int[] Q, java.lang.String C, Location[] p1, Location[] p2, int[] s1x, int[] s1y, int[] s2x, int[] s2y, int i1, int i2, int f1, int f2, long E1, long E2)
          Used for loading and saving data from run games.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

SetupData

public GameSetupData SetupData
Contains game setup information.

Game1Row

public Coord[] Game1Row
Run Game information for board 1.

Game2Row

public Coord[] Game2Row
Run Game information for board 2.

pick1

public Location[] pick1
Run Game information for board 1.

pick2

public Location[] pick2
Run Game information for board 2.

Atr1

public int[] Atr1
How the attributes from board 1 were ranked.

Atr2

public int[] Atr2
How the attributes from board 2 were ranked.

Ques

public int[] Ques
How the questions were ranked.

ChildData

public java.lang.String ChildData
Specified information about child running game.

scramble1x

public int[] scramble1x
Indexing array 1 for 1st board.

scramble1y

public int[] scramble1y
Indexing array 2 for 1st board.

scramble2x

public int[] scramble2x
Indexing array 1 for 2nd board.

scramble2y

public int[] scramble2y
Indexing array 2 for 2nd board.

index1

public int index1
Number of boxes viewed in 1st board.

index2

public int index2
Number of boxes viewed in 2nd board.

fav1

public int fav1
Picked item in 1st board.

fav2

public int fav2
Picked item in 2nd board.

Etime1

public long Etime1
Run time for board 1.

Etime2

public long Etime2
Run time for board 2.
Constructor Detail

RunGameObject

public RunGameObject()
Initializes index values.

RunGameObject

public RunGameObject(GameSetupData S,
                     Coord[] G1,
                     Coord[] G2,
                     int[] A1,
                     int[] A2,
                     int[] Q,
                     java.lang.String C,
                     Location[] p1,
                     Location[] p2,
                     int[] s1x,
                     int[] s1y,
                     int[] s2x,
                     int[] s2y,
                     int i1,
                     int i2,
                     int f1,
                     int f2,
                     long E1,
                     long E2)
Used for loading and saving data from run games.
Parameters:
S - Contains game setup information.
G1 - Run Game information for board 1.
G2 - Run Game information for board 2.
A1 - How the attributes from board 1 were ranked.
A2 - How the attributes from board 2 were ranked.
Q - How the questions were ranked.
C - Specified information about child running game.
p1 - Run Game information for board 1.
p2 - Run Game information for board 2.
s1x - Indexing array 1 for 1st board.
s1y - Indexing array 2 for 1st board.
s2x - Indexing array 1 for 2nd board.
s2y - Indexing array 2 for 2nd board.
i1 - Number of boxes viewed in 1st board.
i2 - Number of boxes viewed in 2nd board.
f1 - Picked item in 1st board.
f2 - Picked item in 2nd board.
E1 - Run time for board 1.
E2 - Run time for board 2.