Ejemplo n.º 1
0
    //--------------------------------------
    // INITIALIZE
    //--------------------------------------


    //--------------------------------------
    //  PUBLIC METHODS
    //--------------------------------------


    public override void ShowFrame(int index)
    {
        currentFrame   = index;
        sprite.opacity = opacity;
        sprite.showFrame(currentFrame);

        base.ShowFrame(index);
    }
Ejemplo n.º 2
0
    //--------------------------------------
    // INITIALIZE
    //--------------------------------------


    //--------------------------------------
    //  PUBLIC METHODS
    //--------------------------------------


    public override void ShowFrame(int index)
    {
        currentFrame = index;
        sprite.showFrame(currentFrame);
    }