|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.physics.collision.CollisionTag
public abstract class CollisionTag
Field Summary | |
---|---|
static java.lang.String |
TAG_NAME
|
Constructor Summary | |
---|---|
CollisionTag()
|
Method Summary | |
---|---|
float |
getCoefficient()
Provides the coefficient of restitution. |
static float |
getCoefficient(PhysicalObject obj)
|
java.lang.String |
getName()
|
void |
setCoefficient(float e)
Sets the coefficient of restitution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG_NAME
Constructor Detail |
---|
public CollisionTag()
Method Detail |
---|
public final java.lang.String getName()
getName
in interface Tag
public float getCoefficient()
public void setCoefficient(float e)
e
- the desired coefficient.
java.lang.IllegalArgumentException
- if e is less than zero.public static float getCoefficient(PhysicalObject obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |