Esempio n. 1
0
 public void Draw(float pSeconds)
 {
     if (mScenes.Count > 0)
     {
         Top.Draw(pSeconds);
     }
 }
Esempio n. 2
0
        //--------------------------------------------------------------------------------------------------------------------
        // - Draw (Implementation)
        //--------------------------------------------------------------------------------------------------------------------
        public void Draw(RenderTarget target, RenderStates states)
        {
            states.Transform *= Transform;

            Bottom?.Draw(target, states);
            Body?.Draw(target, states);
            Top.Draw(target, states);
        }
Esempio n. 3
0
        public void Draw(SpriteBatch spriteBatch, SpriteBatch uiSpriteBatch)
        {
            if (Top.TransitionState != Top.PreviousTransitionState)
            {
                return;
            }

            Top.Draw(spriteBatch, uiSpriteBatch);
        }
Esempio n. 4
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.NonPremultiplied, SamplerState.PointClamp, null, null, null, Camera.Transform);
     {
         Top.Draw(spriteBatch);
         Bottom.Draw(spriteBatch);
         topDecoration.Draw(spriteBatch);
         bottomDecoration.Draw(spriteBatch);
     }
     spriteBatch.End();
 }