using System; namespace GameApp { class Program { static void Main() { Player player = new Player(10, 5, '@'); Renderer renderer = new Renderer(); renderer.Draw(player); Console.ReadKey(); } } public class Player { public int PosicionX { get; set; } public int PosicionY { get; set; } public char Symbol { get; set; } public Player(int PosicionX, int PosicionY, char symbol) { PosicionX = PosicionX; PosicionY = PosicionY; Symbol = symbol; } } public class Renderer { public void Draw(Player player) { Console.Clear(); Console.SetCursorPosition(player.PosicionX, player.PosicionY); Console.Write(player.Symbol); } } }