use of com.watabou.pixeldungeon.items.weapon.missiles.Dart in project pixel-dungeon by watabou.
the class ScorpioSprite method onComplete.
@Override
public void onComplete(Animation anim) {
if (anim == zap) {
idle();
((MissileSprite) parent.recycle(MissileSprite.class)).reset(ch.pos, cellToAttack, new Dart(), new Callback() {
@Override
public void call() {
ch.onAttackComplete();
}
});
} else {
super.onComplete(anim);
}
}