source.ucregents.playground.samplegame
Class Planet1

java.lang.Object
  extended by source.ucregents.playground.physics.BaseEntity
      extended by source.ucregents.playground.physics.MovingEntity
          extended by source.ucregents.playground.samplegame.Ball
              extended by source.ucregents.playground.samplegame.Planet1
All Implemented Interfaces:
java.lang.Cloneable

public class Planet1
extends Ball

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


Constructor Summary
Planet1()
           
Planet1(double x, double y, double dX, double dY)
           
Planet1(java.awt.geom.Point2D.Double p, javax.vecmath.Vector2d v)
           
 
Method Summary
 void collideSpecial(BaseEntity ent2)
           
 java.lang.String DefaultImageLocation()
          Provides the location of the default image
 
Methods inherited from class source.ucregents.playground.physics.MovingEntity
collide, collide, createNodes, Draw, getCurrentTickVelocity, getCurrentVelocity, getFrictionCoef_Kinetic, getFrictionCoef_Static, getMass, increaseVelocity, moveCurrentVelocity, moveVector, setCurrentTickVelocity, setCurrentVelocity, setFrictionCoef_Kinetic, setFrictionCoef_Static, setMass
 
Methods inherited from class source.ucregents.playground.physics.BaseEntity
clone, getActualFrameDimensions, getAxes, getAxis, getBounciness, getCenterPoint, getFrameColor, getImageOffset, getName, getOrientation, getShape, getShapeColor, getShapeFrame, getSideVectors, getULPoint, getVertexCount, getVerticesCoordinates, isCircle, isCollidible, isOverlapping, isPolygon, isSelected, isVisible, OnCollisionWith, OnLocationChange, resetFrameColor, Scale, ScaleAroundCenter, setBounciness, setCenterPoint, setCenterPoint, setCollidible, setFrameColor, setImageOffset, setName, setOrientation, 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

Planet1

public Planet1()

Planet1

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

Planet1

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

collideSpecial

public void collideSpecial(BaseEntity ent2)

DefaultImageLocation

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

Overrides:
DefaultImageLocation in class MovingEntity