Пример #1
0
        private void JointSpriteListClick(Window callingWindow)
        {
            ListBoxBase asListDisplayWindow = callingWindow as ListBoxBase;

            if (SelectJointSprite != null)
            {
                SelectJointSprite(asListDisplayWindow.GetFirstHighlightedObject() as Sprite);
            }
        }
Пример #2
0
        private static void SetAnimationChainOnCurrentSprite(Window callingWindow)
        {
            ListBoxBase listBoxBase = callingWindow as ListBoxBase;

            AnimationChain animationChain = listBoxBase.GetFirstHighlightedObject() as AnimationChain;

            if (GameData.EditorLogic.CurrentSprites.Count != 0)
            {
                GameData.EditorLogic.CurrentSprites[0].SetAnimationChain(animationChain);
            }
        }
Пример #3
0
        public void EmitterArrayListBoxClick(FlatRedBall.Gui.Window callingWindow)
        {
            ListBoxBase asListBoxBase = callingWindow as ListBoxBase;

            EditorData.SelectEmitter((Emitter)asListBoxBase.GetFirstHighlightedObject());
        }