/// Draw public void Draw(SpriteBatch BackgroundLayer, SpriteBatch MediumLayer) { foreach (HButton b in buttons) { b.Draw(BackgroundLayer, MediumLayer); } foreach (HLabel l in labels) { l.Draw(BackgroundLayer); } BackgroundLayer.Draw(characterPanelTexture, characterPanelRectangle, Color.White); BackgroundLayer.Draw(character, characterPosition, null, Color.White, -MathHelper.PiOver2, characterSize / 2f, BackgroundLayer.Bounce(true, 1), 0, 0); }
/// Draw public override void Draw(SpriteBatch BackgroundLayer) { BackgroundLayer.Draw(sprite, position, null, color, angle, size / 2f, BackgroundLayer.Bounce(), 0, 0); }