Ejemplo n.º 1
0
        public MyOsdMenu WithPictureOption(MySprite[] AnimationFrames)
        {
            CurrentOption = new MyStatefulAnimatedSprite(0, 0)
                            .WithState("Default", new MyStatefulAnimatedSpriteState(AnimationFrames));

            CurrentMenu.AddChild(CurrentOption);

            return(this);
        }