edu.byu.phun.body
Class Foot

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.Foot

public class Foot
extends BodyPart

This is the foot of the body. This is always accessed from a LowerLeg object.


Constructor Summary
Foot()
          Creates a new foot object.
 
Method Summary
 Color getShoeColor()
          Returns the shoe color
 void setShoeColor(Color color)
          Changes the color of the shoe.
 
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

Foot

public Foot()
Creates a new foot object.

Method Detail

setShoeColor

public void setShoeColor(Color color)
Changes the color of the shoe.

Parameters:
color - new shoe color.

getShoeColor

public Color getShoeColor()
Returns the shoe color

Returns:
color of the shoe.