edu.byu.phun
Class Floor

java.lang.Object
  extended by edu.byu.phun.PropertyContainer
      extended by edu.byu.phun.Obj3D
          extended by edu.byu.phun.BoxObj
              extended by edu.byu.phun.Floor

public class Floor
extends BoxObj

This creates a very thin flat object that is positioned so that its top is at the origin in Y. This creates a floor on which other objects can be placed.


Constructor Summary
Floor()
          This will create a floor with the dimensions 20x20 centered on the origin.
Floor(double dimensions)
          This will create a new Floor object whose dimensions are those specified.
 
Method Summary
 
Methods inherited from class edu.byu.phun.Obj3D
getBounds, getColor, getLocation, getName, getRotX, getRotY, getRotZ, getScaleX, getScaleY, getScaleZ, getShininess, setColor, 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

Floor

public Floor()
This will create a floor with the dimensions 20x20 centered on the origin.


Floor

public Floor(double dimensions)
This will create a new Floor object whose dimensions are those specified.

Parameters:
dimensions - the size of the square floor in X and Z.