Class Item

java.lang.Object
   |
   +----Item

public class Item
extends Object

Variable Index

 o blue
 o created
 o elasticity
 o friction
 o green
 o item
 o m
 o model
 o p
 o pitch
 o r
 o red
 o removeChildren
 o set_intensity
 o set_startTime
 o set_stopTime
 o set_translation
 o set_transparency
 o v

Constructor Index

 o Item(Model)

Method Index

 o bounce(double)
 o create(Browser, Node)
 o destroy()
 o move()
 o setAppearance(float, float, float, float)
 o setMaterial(float, float, float, float)
 o setPosition(float, float, float)
 o setTransparency(float)
 o setVelocity(float, float, float)
 o toString()

Variables

 o p
 public float p[]
 o v
 public float v[]
 o r
 public float r
 o m
 public float m
 o elasticity
 public float elasticity
 o friction
 public float friction
 o red
 public float red
 o green
 public float green
 o blue
 public float blue
 o pitch
 public float pitch
 o model
 private Model model
 o item
 private Node item[]
 o removeChildren
 private EventInMFNode removeChildren
 o set_translation
 private EventInSFVec3f set_translation
 o set_transparency
 private EventInSFFloat set_transparency
 o set_intensity
 private EventInSFFloat set_intensity
 o set_startTime
 private EventInSFTime set_startTime
 o set_stopTime
 private EventInSFTime set_stopTime
 o created
 private boolean created

Constructors

 o Item
 public Item(Model model)

Methods

 o setMaterial
 public void setMaterial(float size,
                         float dense,
                         float elasticity,
                         float friction)
 o setAppearance
 public void setAppearance(float red,
                           float green,
                           float blue,
                           float pitch)
 o setPosition
 public void setPosition(float x,
                         float y,
                         float z)
 o setVelocity
 public void setVelocity(float vx,
                         float vy,
                         float vz)
 o create
 public void create(Browser browser,
                    Node root)
 o destroy
 public void destroy()
 o move
 public void move()
 o bounce
 public void bounce(double intensity)
 o setTransparency
 public void setTransparency(float transparency)
 o toString
 public String toString()
Overrides:
toString in class Object