Back to project page shapemergency.
The source code is released under:
GNU General Public License
If you think the Android project shapemergency 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.adsg0186.shapemergency.testgame1; // www .ja v a 2 s . c om import com.github.adsgray.gdxtry1.engine.blob.BlobIF; import com.github.adsgray.gdxtry1.engine.util.GameCommand; public class ShieldCollisionTrigger extends MissileCollisionTrigger { public ShieldCollisionTrigger(GameCommand gc) { super(gc); } @Override protected BlobIF postCollision(BlobIF source, BlobIF secondary) { // do nothing as we want the shield to be able to kill multiple bombs GameSound.get().shieldHit(); return source; } }