Class PlayField
java.lang.Object
|
+--PlayField
- public class PlayField
- extends java.lang.Object
The PlayField class defines the play field.
|
Inner Class Summary |
protected class |
PlayField.Surface
Defines the surface of the play field. |
protected class |
PlayField.Walls
Defines the sourrounding walls of the play field. |
|
Constructor Summary |
PlayField()
Creates the branch group of the play field and creates and attaches the walls and
the surface. |
|
Method Summary |
javax.media.j3d.BranchGroup |
getBranchGroup()
Returns the created branch group. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MAX_X
public static final float MAX_X
MAX_Y
public static final float MAX_Y
MAX_Z
public static final float MAX_Z
MIN_X
public static final float MIN_X
MIN_Y
public static final float MIN_Y
MIN_Z
public static final float MIN_Z
WALL_WIDTH
public static final float WALL_WIDTH
WALL_HIGH
public static final float WALL_HIGH
m_cBrGroup
protected javax.media.j3d.BranchGroup m_cBrGroup
PlayField
public PlayField()
- Creates the branch group of the play field and creates and attaches the walls and
the surface.
getBranchGroup
public javax.media.j3d.BranchGroup getBranchGroup()
- Returns the created branch group.
- Returns:
- The branch group of the play field.