public static void WriteOnPosition( GameObject gameObject, int left = 0, int top = 0, ConsoleColor backgroundColor = ConsoleColor.Black) { Console.SetCursorPosition(left, top); Console.ForegroundColor = gameObject.Color; Console.BackgroundColor = backgroundColor; Console.Write(gameObject.VisualChar); }
public static void WriteOnPosition(GameObject gameObject) { Console.SetCursorPosition(gameObject.X, gameObject.Y); Console.ForegroundColor = gameObject.Color; Console.Write(gameObject.VisualChar); }