|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.nexttext.behaviour.physics.PhysicsFactory
public class PhysicsFactory
The factory of Physics behaviours.
Constructor Summary | |
---|---|
PhysicsFactory()
|
Method Summary | |
---|---|
static AbstractBehaviour |
collide()
Collide is a behaviour which performs collision response when TextObjects collide with each other |
static AbstractBehaviour |
explode()
Explode gives a one time velocity push to objects in a random direction. |
static AbstractBehaviour |
follow()
|
static AbstractBehaviour |
move()
Basic move. |
static AbstractBehaviour |
stayInWindow(processing.core.PApplet p)
Keeps objects inside the visible window, bouncing them off when they reach an edge. |
static AbstractBehaviour |
throwable()
|
java.lang.String |
toString()
Returns a descriptive name for this factory. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PhysicsFactory()
Method Detail |
---|
public static final AbstractBehaviour collide()
public static AbstractBehaviour stayInWindow(processing.core.PApplet p)
public static final AbstractBehaviour explode()
public static final AbstractBehaviour move()
public static final AbstractBehaviour throwable()
public static AbstractBehaviour follow()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |