org.dyndns.hentschel.openArena.views.view3D
Class ViewFeld.DrawRasse

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Leaf
                    |
                    +--javax.media.j3d.Behavior
                          |
                          +--de.fhge.informatik.digitaleMedien.j3d.core.DrawableCanvas.AbstractDrawable
                                |
                                +--org.dyndns.hentschel.openArena.views.view3D.ViewFeld.DrawRasse
All Implemented Interfaces:
java.lang.Comparable, DrawableCanvas.Drawable
Enclosing class:
ViewFeld

public class ViewFeld.DrawRasse
extends AbstractDrawable


Field Summary
private  openArena.AbstractArena arena
           
private  java.awt.Color color
           
private  java.text.NumberFormat format
           
private  java.lang.String rasse
           
 
Fields inherited from class de.fhge.informatik.digitaleMedien.j3d.core.DrawableCanvas.AbstractDrawable
 
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
ViewFeld.DrawRasse(java.lang.String rasse, javax.vecmath.Color3f farbe, int duration, int priority, openArena.AbstractArena arena)
           
 
Method Summary
 void draw(java.awt.Graphics2D g2d, float x, float y)
           
 float getHeight()
           
 float getWidth()
           
 
Methods inherited from class de.fhge.informatik.digitaleMedien.j3d.core.DrawableCanvas.AbstractDrawable
compareTo, getPriority, initialize, isDrawEnabled, isPost, isPre, processStimulus, setDrawEnabled
 
Methods inherited from class javax.media.j3d.Behavior
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOn
 
Methods inherited from class javax.media.j3d.Node
cloneNode, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

private java.awt.Color color

rasse

private java.lang.String rasse

arena

private openArena.AbstractArena arena

format

private java.text.NumberFormat format
Constructor Detail

ViewFeld.DrawRasse

public ViewFeld.DrawRasse(java.lang.String rasse,
                          javax.vecmath.Color3f farbe,
                          int duration,
                          int priority,
                          openArena.AbstractArena arena)
Method Detail

draw

public void draw(java.awt.Graphics2D g2d,
                 float x,
                 float y)
Specified by:
draw in interface DrawableCanvas.Drawable
Specified by:
draw in class AbstractDrawable

getHeight

public float getHeight()
Specified by:
getHeight in interface DrawableCanvas.Drawable
Specified by:
getHeight in class AbstractDrawable

getWidth

public float getWidth()
Specified by:
getWidth in interface DrawableCanvas.Drawable
Specified by:
getWidth in class AbstractDrawable