Exemplo n.º 1
0
 public void Draw(float pSeconds)
 {
     if (mScenes.Count > 0)
     {
         Top.Draw(pSeconds);
     }
 }
Exemplo 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);
        }
Exemplo n.º 3
0
        public void Draw(SpriteBatch spriteBatch, SpriteBatch uiSpriteBatch)
        {
            if (Top.TransitionState != Top.PreviousTransitionState)
            {
                return;
            }

            Top.Draw(spriteBatch, uiSpriteBatch);
        }
Exemplo 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();
 }