public void Draw(float pSeconds) { if (mScenes.Count > 0) { Top.Draw(pSeconds); } }
//-------------------------------------------------------------------------------------------------------------------- // - Draw (Implementation) //-------------------------------------------------------------------------------------------------------------------- public void Draw(RenderTarget target, RenderStates states) { states.Transform *= Transform; Bottom?.Draw(target, states); Body?.Draw(target, states); Top.Draw(target, states); }
public void Draw(SpriteBatch spriteBatch, SpriteBatch uiSpriteBatch) { if (Top.TransitionState != Top.PreviousTransitionState) { return; } Top.Draw(spriteBatch, uiSpriteBatch); }
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(); }