|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcdx.MotionFactory
public class MotionFactory
This class is used to pre-allocate Motion objects in mission memory.
| Constructor Summary | |
|---|---|
MotionFactory(int size)
Constructor |
|
| Method Summary | |
|---|---|
void |
clear()
Restore the index |
Motion |
getNewMotion()
Return a pre-allocated instance of the Motionclass. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MotionFactory(int size)
size - the capacity of this store| Method Detail |
|---|
public Motion getNewMotion()
public void clear()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||