public void Draw(SpriteBatch Target) { if (Visible) { _Rect.Draw(Target); _Text.Draw(Target); } }
public void Draw(SpriteBatch Target) { if (Visible) { Sprite.Draw(Target); TextObj.Draw(Target); } }
public void Draw(SpriteBatch Target) { if (Visible) { _Rect.Draw(Target); _Icon.Draw(Target); _MainText.Draw(Target); _AdditionalText.Draw(Target); } }
public void Draw(SpriteBatch Target) { OpenButton.Draw(Target); ChoosedVariant.Draw(Target); Text.Draw(Target); foreach (var variant in Variants) { variant.Draw(Target); } }
/// <summary> /// Выполняет отрисовку объекта /// </summary> /// <param name="Target">Объект, на котором рисуется спрайт</param> public override void Draw(SpriteBatch Target) { if (Visible) { Target.Draw(Texture, Position, null, new Rectangle(Convert.ToInt32(CurrentFrame * FrameSize.X), 0, Convert.ToInt32(FrameSize.X), Convert.ToInt32(FrameSize.Y)), RotationPoint, 0, Scale, Color.White, SpriteEffects.None, Layer); if (_Text != null) { _Text.Draw(Target); } } }
public void Draw(SpriteBatch Target) { foreach (var button in DeckButtons) { button.Draw(Target); } StartEnemySearch.Draw(Target); BackGround.Draw(Target); Search_Icon.Draw(Target); CancelSearch.Draw(Target); SearchDescription.Draw(Target); }
public void Draw(SpriteBatch Target) { MainBack.Draw(Target); OptionsBack.Draw(Target); MenuCaption.Draw(Target); Continue.Draw(Target); Surrender.Draw(Target); Options.Draw(Target); Quit.Draw(Target); ScreenOptions.Draw(Target); Resolutions.Draw(Target); ScreenMode.Draw(Target); }
public void Draw(SpriteBatch Target) { for (var i = 0; i < Cards.Length; i++) { Cards[i].Draw(Target); } foreach (var button in DeckChange) { button.Draw(Target); } PageText.Draw(Target); Prev.Draw(Target); Next.Draw(Target); BackGround_Bottom.Draw(Target); BackGround_Right.Draw(Target); }
public void Draw(SpriteBatch Target) { BackGround.Draw(Target); Br.Draw(Target); Name.Draw(Target); Password.Draw(Target); NameEdit.Draw(Target); PassEdit.Draw(Target); Register.Draw(Target); Error.Draw(Target); Login.Draw(Target); Connecting_Icon.Draw(Target); Connecting_Text.Draw(Target); }
public void Draw(SpriteBatch Target) { Target.Begin(SpriteSortMode.BackToFront); LogIn.Draw(Target); MenuBar.Draw(Target); Home.Draw(Target); Play.Draw(Target); Collection.Draw(Target); OpenCardPack.Draw(Target); Options.Draw(Target); PlayerName.Draw(Target); NameBack.Draw(Target); MoneyBack.Draw(Target); PlayerMoney.Draw(Target); RollingBack.Draw(Target); collection.Draw(Target); play.Draw(Target); Target.End(); }
//Отрисовка элемента public override void Draw(SpriteBatch Target) { base.Draw(Target); _NeedMovePointsInfo.Draw(Target); _DefenseInfo.Draw(Target); }