protected void stopped(edu.cmu.cs.stage3.alice.core.World world, double time) { super.stopped(world, time); for (int i = 0; i < m_copies.size(); i++) { edu.cmu.cs.stage3.alice.core.Model copy = (edu.cmu.cs.stage3.alice.core.Model) m_copies.elementAt(i); copy.vehicle.set(null); // copy.getSceneGraphTransformable().setParent( null ); copy.removeFromParent(); // todo // copy.release(); } m_copies.clear(); }
protected void started(edu.cmu.cs.stage3.alice.core.World world, double time) { super.started(world, time); m_copies.clear(); }