source.ucregents.playground.samplegame
Class BackgroundTerrain

java.lang.Object
  extended by source.ucregents.playground.physics.BaseEntity
      extended by source.ucregents.playground.samplegame.Terrain
          extended by source.ucregents.playground.samplegame.BackgroundTerrain
All Implemented Interfaces:
java.lang.Cloneable

public class BackgroundTerrain
extends Terrain


Constructor Summary
BackgroundTerrain()
           
BackgroundTerrain(double x, double y, double w, double h)
           
 
Method Summary
 java.lang.String DefaultImageLocation()
          Provides the location of the default image
 boolean isCollidable()
          Determines whether or not this entity can be collided with by other entities.
 void setDefaultImageLocation(java.lang.String nameOfImage)
           
 
Methods inherited from class source.ucregents.playground.samplegame.Terrain
getAlphaTransparency, setAlphaTransparency
 
Methods inherited from class source.ucregents.playground.physics.BaseEntity
calculateAxes, clone, 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, 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

BackgroundTerrain

public BackgroundTerrain()

BackgroundTerrain

public BackgroundTerrain(double x,
                         double y,
                         double w,
                         double h)
Method Detail

DefaultImageLocation

public java.lang.String DefaultImageLocation()
Description copied from class: BaseEntity
Provides the location of the default image

Overrides:
DefaultImageLocation in class BaseEntity
Returns:
Returns the location of the image

isCollidable

public boolean isCollidable()
Description copied from class: BaseEntity
Determines whether or not this entity can be collided with by other entities.

Overrides:
isCollidable in class BaseEntity
Returns:
true if can be collided with

setDefaultImageLocation

public void setDefaultImageLocation(java.lang.String nameOfImage)