Ejemplo n.º 1
0
        private void JointSpriteListClick(Window callingWindow)
        {
            ListBoxBase asListDisplayWindow = callingWindow as ListBoxBase;

            if (SelectJointSprite != null)
            {
                SelectJointSprite(asListDisplayWindow.GetFirstHighlightedObject() as Sprite);
            }
        }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 3
0
        public void EmitterArrayListBoxClick(FlatRedBall.Gui.Window callingWindow)
        {
            ListBoxBase asListBoxBase = callingWindow as ListBoxBase;

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