flxSharp.flxSharp.FlxSprite.drawFrame C# (CSharp) Méthode

drawFrame() public méthode

Request (or force) that the sprite update the frame before rendering. Useful if you are doing procedural generation or other weirdness!
public drawFrame ( bool force = false ) : void
force bool Force the frame to redraw, even if its not flagged as necessary.
Résultat void
        public void drawFrame(bool force = false)
        {
            if (force || Dirty)
            {
                calcFrame();
            }
        }