示例#1
0
    public override void Redraw(int offx, int offy)
    {
        base.Redraw(offx, offy);

        APPFRAME.Redraw(offx, offy);
        APPINSTRUCTION.Redraw(offx, offy);
        APPLABEL.Redraw(offx, offy);
    }
示例#2
0
    public APPtreedudeintro() : base("TREE-DUDE-TREE-DUDE-DUDE-by-piotr")
    {
        APPFRAME.Kill();
        APPLABEL.Kill();
        APPINSTRUCTION.Kill();

        PrepareFinalAnimation();
        PrepareInstruction();
        PrepareLoading();
        PreparePrompters();
        PrepareDudeJumping();
    }
示例#3
0
    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);
    }