|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jinx.action.Actor
net.jinx.physics.spring.SpringSheet
public class SpringSheet
| Constructor Summary | |
|---|---|
SpringSheet(java.lang.String name,
int width,
int height,
int springDepth,
float k,
float b,
float distance,
Vector center,
Vector velocity,
float mass)
|
|
SpringSheet(java.lang.String name,
int width,
int height,
int springDepth,
float k,
float b,
float distance,
Vector center,
Vector velocity,
float mass,
boolean anchorEdges)
|
|
| Method Summary | |
|---|---|
void |
actorAdded(Actor actor,
Scene scene)
Called when an Actor has been added to the Scene. |
void |
actorRemoved(Actor actor,
Scene scene)
Called when an Actor has been removed from the Scene. |
void |
deinit(Context opt)
Deinitializes this Visible, disposing of any resources that it may be using. |
void |
draw(Context opt)
Renders this Visible to glDrawable. |
void |
drawPass(Context opt,
Pass pass)
|
void |
init(Context opt)
Initializes this Visible, preparing it for rendering. |
protected void |
processEvent(ActorEvent event)
Processes an ActorEvent. |
void |
setVisible(ParticleVisible visible)
|
void |
tag(Tag tag)
|
| 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 |
| Constructor Detail |
|---|
public SpringSheet(java.lang.String name,
int width,
int height,
int springDepth,
float k,
float b,
float distance,
Vector center,
Vector velocity,
float mass)
public SpringSheet(java.lang.String name,
int width,
int height,
int springDepth,
float k,
float b,
float distance,
Vector center,
Vector velocity,
float mass,
boolean anchorEdges)
| Method Detail |
|---|
public void actorAdded(Actor actor,
Scene scene)
SceneListener
actorAdded in interface SceneListeneractor - the Actor that has been added.scene - the Scene that this event came from.
public void actorRemoved(Actor actor,
Scene scene)
SceneListener
actorRemoved in interface SceneListeneractor - the Actor that has been removed.scene - the Scene that this event came from.public void tag(Tag tag)
public void setVisible(ParticleVisible visible)
public void init(Context opt)
Visible
init in interface Visibleopt - describes the rendering options that are being used.public void draw(Context opt)
Visible
draw in interface Visibleopt - describes the rendering options that are being used.
public void drawPass(Context opt,
Pass pass)
drawPass in interface MultipassVisiblepublic void deinit(Context opt)
Visible
deinit in interface Visibleopt - describes the rendering options that are being used.protected void processEvent(ActorEvent event)
Actor
processEvent in class Actorevent - the ActorEvent to process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||