edu.byu.phun.body
Class LowerLeg

java.lang.Object
  extended by edu.byu.phun.PropertyContainer
      extended by edu.byu.phun.Obj3D
          extended by edu.byu.phun.GroupObj
              extended by edu.byu.phun.body.BodyPart
                  extended by edu.byu.phun.body.LowerLeg

public class LowerLeg
extends BodyPart

This contains the calf, shin and foot. Flexing the foot is controlled by Leg


Constructor Summary
LowerLeg()
          Creates a LowerLeg object.
 
Method Summary
 Color getSkinColor()
          Returns the current skin color.
 void setSkinColor(Color color)
          Changes the skin color.
 
Methods inherited from class edu.byu.phun.GroupObj
addPart, getPart, getPart, nParts, partNames, removePart, removePart, setColor, setPart
 
Methods inherited from class edu.byu.phun.Obj3D
getBounds, getColor, getLocation, getName, getRotX, getRotY, getRotZ, getScaleX, getScaleY, getScaleZ, getShininess, setColor, setLocation, setLocation, setName, setRotX, setRotY, setRotZ, setScale, setScale, setScaleX, setScaleY, setScaleZ, setShininess, toString
 
Methods inherited from class edu.byu.phun.PropertyContainer
getPropertyC, getPropertyD, getPropertyP, getPropertyS, propertyIsColor, propertyIsDouble, propertyIsPoint, propertyIsSettable, propertyIsString, propertyNames, setProperty, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LowerLeg

public LowerLeg()
Creates a LowerLeg object.

Method Detail

setSkinColor

public void setSkinColor(Color color)
Changes the skin color. This is generally called from Leg rather than directly.

Parameters:
color - new skin color.

getSkinColor

public Color getSkinColor()
Returns the current skin color.

Returns:
the skin color.