org.dyndns.hentschel.openArena.views.view3D
Class FelderGroup
java.lang.Object
|
+--javax.media.j3d.SceneGraphObject
|
+--javax.media.j3d.Node
|
+--javax.media.j3d.Group
|
+--javax.media.j3d.BranchGroup
|
+--org.dyndns.hentschel.openArena.views.view3D.FelderGroup
- public class FelderGroup
- extends javax.media.j3d.BranchGroup
Field Summary |
private static int |
AGENT
|
private java.awt.Dimension |
alteDim
|
private openArena.AbstractArena |
arena
|
private javax.media.j3d.SharedGroup |
colorCube
|
private java.awt.Dimension |
dim
|
private javax.media.j3d.SharedGroup[] |
feldarten
|
private org.dyndns.hentschel.openArena.views.view3D.ViewFeld[][] |
felder
|
private static int |
NAHRUNG
|
private static int |
NORMAL
|
private javax.media.j3d.TransformGroup |
tg2
|
private javax.media.j3d.TransformGroup |
tg3
|
private static int |
WAND
|
Fields inherited from class javax.media.j3d.BranchGroup |
ALLOW_DETACH |
Fields inherited from class javax.media.j3d.Group |
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE |
Fields inherited from class javax.media.j3d.Node |
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING |
Fields inherited from class javax.media.j3d.SceneGraphObject |
|
Constructor Summary |
FelderGroup(openArena.AbstractArena arena)
Creates a new instance of FelderGroup |
Method Summary |
void |
setSize(java.awt.Dimension dim)
|
void |
showFeld(int x,
int y,
openArena.Feld feld,
double energie,
org.dyndns.hentschel.openArena.views.view3D.ViewCanvas canvas)
|
Methods inherited from class javax.media.j3d.BranchGroup |
cloneNode, compile, detach, pickAll, pickAllSorted, pickAny, pickClosest |
Methods inherited from class javax.media.j3d.Group |
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds |
Methods inherited from class javax.media.j3d.Node |
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
Methods inherited from class javax.media.j3d.SceneGraphObject |
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData, updateNodeReferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dim
private java.awt.Dimension dim
felder
private org.dyndns.hentschel.openArena.views.view3D.ViewFeld[][] felder
tg2
private javax.media.j3d.TransformGroup tg2
tg3
private javax.media.j3d.TransformGroup tg3
colorCube
private javax.media.j3d.SharedGroup colorCube
feldarten
private javax.media.j3d.SharedGroup[] feldarten
alteDim
private java.awt.Dimension alteDim
arena
private openArena.AbstractArena arena
NORMAL
private static final int NORMAL
- See Also:
- Constant Field Values
AGENT
private static final int AGENT
- See Also:
- Constant Field Values
WAND
private static final int WAND
- See Also:
- Constant Field Values
NAHRUNG
private static final int NAHRUNG
- See Also:
- Constant Field Values
FelderGroup
public FelderGroup(openArena.AbstractArena arena)
- Creates a new instance of FelderGroup
setSize
public void setSize(java.awt.Dimension dim)
showFeld
public void showFeld(int x,
int y,
openArena.Feld feld,
double energie,
org.dyndns.hentschel.openArena.views.view3D.ViewCanvas canvas)