source.ucregents.playground.samplegame
Class Ball

java.lang.Object
  extended by source.ucregents.playground.physics.BaseEntity
      extended by source.ucregents.playground.physics.MovingEntity
          extended by source.ucregents.playground.samplegame.Ball
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
Ball_Beach, Ball_Bowling, Ball_Smile, Ball_Soccer, Planet1, Planet2

public class Ball
extends MovingEntity


Constructor Summary
Ball(double x, double y, double radius, double dX, double dY)
           
Ball(double x, double y, double radius, float orientation, javax.vecmath.Vector2d inputVelocity, float inputMass)
           
Ball(java.awt.geom.Point2D.Double p, javax.vecmath.Vector2d v, double radius, int mass, float staticFric, float kineticFric)
           
 
Method Summary
 
Methods inherited from class source.ucregents.playground.physics.MovingEntity
collide, collide, DefaultImageLocation, Deserialize, Draw, 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, clone, 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, 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

Ball

public Ball(double x,
            double y,
            double radius,
            double dX,
            double dY)

Ball

public Ball(double x,
            double y,
            double radius,
            float orientation,
            javax.vecmath.Vector2d inputVelocity,
            float inputMass)

Ball

public Ball(java.awt.geom.Point2D.Double p,
            javax.vecmath.Vector2d v,
            double radius,
            int mass,
            float staticFric,
            float kineticFric)