public override void Redraw(int offx, int offy) { base.Redraw(offx, offy); DrawCells(cells1); DrawCells(cells2); if (!flip) { DrawCells(cells1); } else { DrawCells(cells2); } if (debugFrame != null) { debugFrame.Redraw(offx, offy); } }
public override void Redraw(int offx, int offy) { base.Redraw(offx, offy); if (!alive) { dude.currentFrame = 5; dude.RedrawBlack(offx, offy); dude.currentFrame = 4; } dude.Redraw(offx, offy); if (timeToDieBar != null) { timeToDieBar.Redraw(offx, offy); } if (smallScore != null) { smallScore.Redraw(offx, offy); } if (bigScore != null) { bigScore.Redraw(offx, offy); } if (lastFigletParticle != null && lastFigletParticle.remove == false) { lastFigletParticle.Redraw(offx, offy); } if (tutorialView != null) { tutorialView.Redraw(offx, offy); } APPFRAME.Redraw(offx, offy); APPINSTRUCTION.Redraw(offx, offy); APPLABEL.Redraw(offx, offy); }