protected override void collisionWithWaterEffect(WaterEffectEntity waterEffect) { --blood; if (blood <= 0) { base.collisionWithWaterEffect(waterEffect); Global.Counter_Scores += 100; } }
private void collisionWithWaterEffect(WaterEffectEntity wef) { this.isDead = true; Global.Counter_Scores -= 20; }
private void collisionWithWaterEffect(WaterEffectEntity waterEffect) { if (!((this.RendererObj as BomberRenderer).Stage is WrapBombStage)) { (this.RendererObj as BomberRenderer).onStageChange(WrapBombStage.getInstance()); // Play sound bomber die Global.PlaySoundEffect(Shared.Resources.Sound_Inside_Bomb); } }
private void collisionWithWaterEffect(WaterEffectEntity wef) { if (!this.isDead) { (LogicalObj as ObstacleLogical).TimeToDie = Shared.Constants.OBSTACLE_TIME_TO_DIE; // Play sound break obstacle Global.PlaySoundEffect(Shared.Resources.Sound_Obstacle_Break); } }
protected virtual void collisionWithWaterEffect(WaterEffectEntity waterEffect) { this.isDead = true; Global.Counter_Scores += 100; }