Back to project page hackfmi-ragdoll-physics.
The source code is released under:
GNU General Public License
If you think the Android project hackfmi-ragdoll-physics listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.midtownmadness.bubblecombat.physics; //www . j a v a2s . c om import org.jbox2d.dynamics.World; import com.midtownmadness.bubblecombat.multiplay.Callback; @SuppressWarnings("rawtypes") public abstract class PhysicsRequest { private Callback callback; public PhysicsRequest(Callback callback) { this.callback = callback; } @SuppressWarnings("unchecked") public final void applyRequest(World world) { apply(world); if(callback != null) callback.call(this); } protected abstract void apply(World world); }