-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPALBox.java
More file actions
47 lines (41 loc) · 966 Bytes
/
PALBox.java
File metadata and controls
47 lines (41 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.bc.memorytest;
/**
* Class used to define a single box in the PAL test.
*
* @author Bill Cassidy
*/
public class PALBox
{
private int boxIndex;
private int shapeIndex;
/**
* Constructor for PALBox class.
*
* @param boxIndex
* Index of this box.
*
* @param shapeID
* Index number of the shape contained in this box (use 9999 for no shape).
*/
public PALBox(int boxIndex, int shapeIndex, boolean boxOpenIndex)
{
this.boxIndex = boxIndex;
this.shapeIndex = shapeIndex;
}
public int getBoxIndex()
{
return boxIndex;
}
public int getShapeIndex()
{
return shapeIndex;
}
public void setBoxIndex(int boxIndex)
{
this.boxIndex = boxIndex;
}
public void setShapeIndex(int shapeIndex)
{
this.shapeIndex = shapeIndex;
}
}