public void Update(LevelImp level, float elapsed) { if (!IsAlive) { return; } if (_punishedType != PunishedType.None) { _punishedTime += elapsed; if (_punishedTime >= PunishedDuration) { _punishedType = PunishedType.None; } } FigureController?.Update(elapsed); Move(level, elapsed); HandleItemCollection(level); HandleHitByFire(level); HandlePlaceBomb(level); FigureController?.Reset(); }
public void ResetSong() { currentFigure.Reset(); }