Package net.sf.fysix.world

Examples of net.sf.fysix.world.WorldObjectState


    currentHistory %= HistoryC; // make constant...

    ObjectHistory current = objectHist.get(currentHistory);
    current.stateobjs.clear();
    for (WorldObject wo : world.getObjects()){
      WorldObjectState stateCopy = new WorldObjectState(wo.getElasticity(), wo.getMass(), wo.getMomentOfInertia(), wo.getTimeToLive(), wo.getType(), wo);
      stateCopy.copyState(wo);
      current.stateobjs.add(stateCopy);
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.fysix.world.WorldObjectState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.