|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.action.Actor net.jinx.action.VisibleActor net.jinx.physics.util.VisiblePhysical net.jinx.physics.util.PhysicalSpark
public class PhysicalSpark
Constructor Summary | |
---|---|
PhysicalSpark()
|
|
PhysicalSpark(Vector position,
Vector velocity,
float mass)
|
Method Summary | |
---|---|
void |
draw(Context opt)
Redirects to the wrapped Visible. |
void |
setMaterial(Material material)
|
void |
setWidth(float width)
|
Methods inherited from class net.jinx.physics.util.VisiblePhysical |
---|
getMass, getPhysicalObject, getPosition, getVelocity, setMass, setPosition, setVelocity, tag |
Methods inherited from class net.jinx.action.VisibleActor |
---|
deinit, drawPass, getVisible, init, processEvent |
Methods inherited from class net.jinx.action.Actor |
---|
checkAllowAdd, getName, getOwner, hashCode, ownerChanged, sendEvent, sendEvent, sendEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.jinx.physics.Physical |
---|
getPhysicalObject |
Constructor Detail |
---|
public PhysicalSpark()
public PhysicalSpark(Vector position, Vector velocity, float mass)
Method Detail |
---|
public void setMaterial(Material material)
public void setWidth(float width)
public void draw(Context opt)
VisibleActor
draw
in interface Visible
draw
in class VisiblePhysical
opt
- the Context object contaning rendering options.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |