added particles
This commit is contained in:
@@ -225,6 +225,7 @@ public class Player extends Entity {
|
||||
panel.iTile[index].playSE();
|
||||
panel.iTile[index].life--;
|
||||
panel.iTile[index].invincible = true;
|
||||
generateParticle(panel.iTile[index], panel.iTile[index]);
|
||||
if(panel.iTile[index].life == 0) panel.iTile[index] = panel.iTile[index].getDestroyedForm();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user