コード例 #1
0
 protected void DrawObject(IDrawable drawable, Vector2D position)
 {
     Console.ForegroundColor = drawable.GetMapCharacterColor(position);
     Console.Write($"{drawable.GetMapCharacter(position)} ");
     Console.ResetColor();
 }