private static void SelectCharacter_Class() { Point Text_Position = new Point(399, 425); string Text = "(" + Game.SelectCharacter + ") None"; // Somente se necessário if (!Buttons.Characters_Change_Buttons()) { DrawText(Text, Text_Position.X - Tools.MeasureString(Text) / 2, Text_Position.Y, SFML.Graphics.Color.White); return; } // Dados short Class = Lists.Characters[Game.SelectCharacter].Class; // Verifica se o personagem existe if (Class == 0) { DrawText(Text, Text_Position.X - Tools.MeasureString(Text) / 2, Text_Position.Y, SFML.Graphics.Color.White); return; } // Desenha o personagem short Texture_Num = Lists.Characters[Game.SelectCharacter].Texture_Num; if (Texture_Num > 0) { Render(Tex_Face[Texture_Num], new Point(353, 442)); Character(Texture_Num, new Point(356, 534 - TSize(Tex_Character[Texture_Num]).Height / 4), Game.Directions.Down, Game.Animation_Stopped); } // Desenha o nome da classe Text = "(" + Game.SelectCharacter + ") " + Lists.Characters[Game.SelectCharacter].Name; DrawText(Text, Text_Position.X - Tools.MeasureString(Text) / 2, Text_Position.Y, SFML.Graphics.Color.White); }