source.ucregents.playground.samplegame.planets
Class Planet3

java.lang.Object
  extended by source.ucregents.playground.physics.BaseEntity
      extended by source.ucregents.playground.physics.MovingEntity
          extended by source.ucregents.playground.physics.RangedForceEntity
              extended by source.ucregents.playground.samplegame.planets.Planet3
All Implemented Interfaces:
java.lang.Cloneable, IForceEntity

public class Planet3
extends RangedForceEntity

A Planet1 is a MovingEntity with a Planet3 image and with a mass of 50000kg, and friction coefficients of 1


Constructor Summary
Planet3()
           
Planet3(double x, double y, double dX, double dY)
           
Planet3(java.awt.geom.Point2D.Double p, javax.vecmath.Vector2d v)
           
 
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.
 
Methods inherited from class source.ucregents.playground.physics.RangedForceEntity
clone, Draw, getAttraction, getForceFor, IntersectsWith, OnLocationChange, setAttraction
 
Methods inherited from class source.ucregents.playground.physics.MovingEntity
collide, collide, Deserialize, getAngularVelocity, getCurrentTickVelocity, getCurrentVelocity, getMass, increaseVelocity, increaseXVelocity, increaseYVelocity, isStationary, isUnstoppableForce, moveCurrentVelocity, moveVector, Serialize, setAngularVelocity, setCurrentTickVelocity, setCurrentVelocity, setMass, setStationary, setUnstoppableForce
 
Methods inherited from class source.ucregents.playground.physics.BaseEntity
calculateAxes, 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, OnOrientationChange, OnULScale, RegisterEvent, RegisterEvent, RegisterEvents, RemoveEvent, RemoveEvents, resetFrameColor, Scale, ScaleAroundCenter, 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

Planet3

public Planet3()

Planet3

public Planet3(double x,
               double y,
               double dX,
               double dY)

Planet3

public Planet3(java.awt.geom.Point2D.Double p,
               javax.vecmath.Vector2d v)
Method Detail

DefaultImageLocation

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

Overrides:
DefaultImageLocation in class RangedForceEntity
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 RangedForceEntity
Returns:
true if can be collided with