source.ucregents.playground.samplegame
Class Terrain

java.lang.Object
  extended by source.ucregents.playground.physics.BaseEntity
      extended by source.ucregents.playground.samplegame.Terrain
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
BackgroundTerrain, Obstacle

public abstract class Terrain
extends BaseEntity


Constructor Summary
Terrain()
           
Terrain(double x_loc, double y_loc, double width, double height)
           
Terrain(double x_loc, double y_loc, double width, double height, float orientation)
           
 
Method Summary
 float getAlphaTransparency()
           
 void setAlphaTransparency(float value)
           
 
Methods inherited from class source.ucregents.playground.physics.BaseEntity
calculateAxes, clone, DefaultImageLocation, Deserialize, Draw, getActualFrameDimensions, getAxes, getAxesClone, getAxis, getBounciness, getCenterPoint, getDrawType, getEvents, getFrameColor, getFrictionConstant, getGradientColor, getImageOffset, getName, getOrientation, getResizingObject, getRoundedShapeMass, getScale, getShape, getShapeColor, getShapeFrame, getShapeMass, getSideVectors, getULPoint, getUserEvents, getVertexCount, getVerticesCoordinates, isCircle, isCollidable, isOverlapping, isPolygon, isSelected, isVisible, OnCenterScale, OnCollisionWith, OnLocationChange, OnOrientationChange, OnULScale, RegisterEvent, RegisterEvent, RegisterEvents, RemoveEvent, RemoveEvents, resetFrameColor, Scale, ScaleAroundCenter, Serialize, setBounciness, setCenterPoint, setCenterPoint, setCollidable, setDrawType, setFrameColor, setFrictionConstant, setGradientColor, setImageOffset, setName, setOrientation, setScale, setSelected, setShapeColor, setULPoint, setULPoint, setVisible, toString, toXMLElement
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Terrain

public Terrain()

Terrain

public Terrain(double x_loc,
               double y_loc,
               double width,
               double height)

Terrain

public Terrain(double x_loc,
               double y_loc,
               double width,
               double height,
               float orientation)
Method Detail

getAlphaTransparency

public final float getAlphaTransparency()

setAlphaTransparency

public final void setAlphaTransparency(float value)