net.jinx.physics.util
Class PhysicalSphere

java.lang.Object
  extended by net.jinx.action.Actor
      extended by net.jinx.action.VisibleActor
          extended by net.jinx.physics.util.VisiblePhysical
              extended by net.jinx.physics.util.PhysicalSphere
All Implemented Interfaces:
Physical, MultipassVisible, Visible

public class PhysicalSphere
extends VisiblePhysical


Constructor Summary
PhysicalSphere(float r, int segments, Material mat)
           
PhysicalSphere(float r, int segments, Material mat, Vector p, Vector v, float mass)
           
 
Method Summary
 void setMaterial(Material m)
           
 
Methods inherited from class net.jinx.physics.util.VisiblePhysical
draw, getMass, getPhysicalObject, getPosition, getVelocity, setMass, setPosition, setVelocity, tag
 
Methods inherited from class net.jinx.action.VisibleActor
deinit, drawPass, getVisible, init, processEvent
 
Methods inherited from class net.jinx.action.Actor
checkAllowAdd, getName, getOwner, hashCode, ownerChanged, sendEvent, sendEvent, sendEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalSphere

public PhysicalSphere(float r,
                      int segments,
                      Material mat)

PhysicalSphere

public PhysicalSphere(float r,
                      int segments,
                      Material mat,
                      Vector p,
                      Vector v,
                      float mass)
Method Detail

setMaterial

public void setMaterial(Material m)