|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsource.ucregents.playground.physics.BaseEntity
source.ucregents.playground.physics.MovingEntity
source.ucregents.playground.samplegame.Ball
source.ucregents.playground.samplegame.Ball_Smile
public class Ball_Smile
Constructor Summary | |
---|---|
Ball_Smile()
|
|
Ball_Smile(double x,
double y,
double dX,
double dY)
|
|
Ball_Smile(java.awt.geom.Point2D.Double p,
javax.vecmath.Vector2d v)
|
Method Summary | |
---|---|
java.lang.String |
DefaultImageLocation()
Provides the location of the default image |
void |
OnCollisionWith(BaseEntity ent2)
Physics collisions are already handled, this method is called immediately after each collision to determine any special behavior of this entity. |
Methods inherited from class source.ucregents.playground.physics.MovingEntity |
---|
collide, collide, Deserialize, Draw, getAngularVelocity, getCurrentTickVelocity, getCurrentVelocity, getMass, increaseVelocity, increaseXVelocity, increaseYVelocity, isStationary, isUnstoppableForce, moveCurrentVelocity, moveVector, Serialize, setAngularVelocity, setCurrentTickVelocity, setCurrentVelocity, setMass, setStationary, setUnstoppableForce |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Ball_Smile()
public Ball_Smile(double x, double y, double dX, double dY)
public Ball_Smile(java.awt.geom.Point2D.Double p, javax.vecmath.Vector2d v)
Method Detail |
---|
public java.lang.String DefaultImageLocation()
BaseEntity
DefaultImageLocation
in class MovingEntity
public void OnCollisionWith(BaseEntity ent2)
BaseEntity
OnCollisionWith
in class BaseEntity
ent2
- The entity that collision has occured with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |